JavaScript Icon

JavaScript

JavaScript is an object-oriented programming language used alongside HTML and CSS to give functionality to web pages.
472 Stories
All Topics

Prisma Icon www.prisma.io

Prisma raises $4.5M to build the GraphQL data layer for all databases

Big news from our friends at Graphcool, now Prisma. Today, we have some very exciting news to share: We've raised a $4.5 million seed round led by Kleiner Perkins and are rebranding to Prisma (from Graphcool). In this post we'd like to share our thoughts on Prisma today and our plans for the future. If you haven't yet, check out The Changelog #297: Prisma and the GraphQL data layer.

read more...

Anil Dash Medium

What if JavaScript wins?

Very insightful post from Anil Dash about the impact of network effects on JavaScript and coding culture. Anil writes on his Medium: What this suggests is that JavaScript may be reaching escape velocity as a network, and as an ecosystem of related technologies. To be clear, there’s no winner-takes-all here — domain-specific languages will always have their uniquely valuable areas of focus. But for general-purpose coding? Everything from spreadsheet macros to Internet of Things hardware seems to default to having JavaScript be one of the primary ways to make things programmable.

read more...

Kye Hohenberger Avatar The React Podcast #9

Emotion

Kye Hohenberger is the author of the Emotion JavaScript library, a popular choice among React developers who prefer using CSS-in-JS to traditional CSS stylesheets. In this episode we discuss his work on Emotion including where he got the initial inspiration for the project and his motivation for creating it. We also discuss the future of the project and what may be in store for the future of CSS-in-JS.

read more...

Matías Olivera warrior.js.org

WarriorJS – an exciting game of programming and Artificial Intelligence

A JavaScript game you play from the terminal: In WarriorJS, you wear the skin of a warrior climbing a tall tower to reach The JavaScript Sword at the top level. Legend has it that the sword bearer becomes enlightened in the JavaScript language, but be warned: the journey will not be easy. On each floor, you need to write JavaScript to instruct the warrior to battle enemies, rescue captives, and reach the stairs alive... Whether are new to programming or a JS guru, WarriorJS will put your skills to the test. Will you dare? Check out the gameplay docs to get a feel for things. This could be a lot of fun!

read more...

Steven Loria github.com

Making the Node.js REPL more productive

Project-specific REPLs for Node.js I'm a bit surprised this functionality isn't in the box, nonetheless: local-repl saves you from typing out imports every time you open a new Node.js REPL. You specify the modules and objects that you want to automatically import in either package.json or .replrc.js. It also lets you use await in the REPL without wrapping your code in async functions. That sounds quite nice.

read more...

Flavio Copes flaviocopes.com

A guide to JavaScript regular expressions

Flavio Copes: Learn everything about JavaScript Regular Expressions with this brief guide that summarizes the most important concepts and shows them off with examples. Regular expressions can be a developer's best friend or worst nightmare, depending on how well you can wield them. I've been using them (with varying degrees of success) since the early aughts, yet I still learn something new every time I read a tutorial like Flavio's.

read more...

JavaScript Icon github.com

A new date library with a "largely Moment.js-compatible API"

Why use Day.js? 🕒 Familiar Moment.js API & patterns 💪 Immutable 🔥 Chainable 📦 2kb mini library 👫 All browsers support It's worth noting that the author doesn't claim 100% API compatibility with Moment.js, but they say it's close enough that "If you use Moment.js, you already know how to use Day.js." If your app targets modern browsers and is currently packing Moment.js' 16.4kb in its JS bundle, maybe you can get by with Day.js' 2kb instead...

read more...

Lin Clark Avatar The Changelog #294

Code Cartoons, Rust, and WebAssembly

Lin Clark joined the show to talk about Code Cartoons, her work at Mozilla in the emerging technologies group, Rust, Servo, and WebAssembly (aka Wasm), the Rust community's big goal in 2018 for Rust to become a web language (thanks in part to Wasm), passing objects between Rust and JavaScript, Rust libraries depending on JavaScript packages and vice versa, Wasm ES Modules, and Lin's upcoming keynote at Fluent on the parallel future of the browser.

read more...

Paul Kinlan paul.kinlan.me

Use `onappinstalled` to know when your PWA gets installed

Paul Kinlan, developer advocate for Chrome and the open web at Google writes: Chrome implemented window.onappinstalled event. It's triggered when a user installs a progressive web app via the Add to Homescreen API or now more importantly via the manual method of Add to Homescreen. This is a very useful addition because it allows you to see engagement on the prompt vs people who use the system banners or menu buttons to install a progressive web app. Now you can track your PWA's install engagement based on the method of install — via the prompt or manually via a custom prompt. Read the docs for more details. Also, make sure you subscribe to JS Party to hear discussions about PWAs and the web platform.

read more...
0:00 / 0:00