How to Write a Simple NPM Package by@juliancwirko
347 reads

How to Write a Simple NPM Package

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

@juliancwirko

Julian.io


Receive Stories from @juliancwirko

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa