paint-brush
How to Write a Simple NPM Package by@julianio
348 reads
348 reads

How to Write a Simple NPM Package

by Julian.io2mJuly 1st, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

With ES2015 standard (or ES6), we got built-in modules in JavaScript. Previously it was supported by third-party tooling like RequireJS, for example. You can now use modern CDN services like Skypack and then import your tool in the browser. Using Typescript and export definitions, you can even use your package in Deno land. Skypack will allow your package to be published in the NPM registry without any transpiling. You can also use your code in modern JavaScript code without any additional processes.

Company Mentioned

Mention Thumbnail
featured image - How to Write a Simple NPM Package
Julian.io HackerNoon profile picture
Julian.io

Julian.io

@julianio

JavaScript/Typescript developer, learning tech around Blockchain

About @julianio
LEARN MORE ABOUT @JULIANIO'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Julian.io HackerNoon profile picture
Julian.io@julianio
JavaScript/Typescript developer, learning tech around Blockchain

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite