Edit: alright ECMAScript Modules it is :D

should my library be common js or a module (this is gonna be an npm package)

aka should it beconst { Client } = require('libraryname')

or import { Client } from 'libraryname'

3 0 7

comments (single view)

this

View all comments