Skip to content

abusedmedia/how-to-dev-a-js-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POC to wrap my head on the making a js lib these days

Goal

I want to write a js library the modern way that means:

  • write it in ES6
  • use the module loader (import/export) for peace of mind
  • build a package that is compatible both with the browser and node.js
  • have a developer friendly setup (watcher and reloader during development session)

Tools

  • Rollup to bundle all the things
  • Babel to transpile the code

Commands

  • npm start to begin the development session
  • npm run browser and go to http://localhost:8080
  • npm run node

About

POC to wrap my head on the making a js lib these days

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published