0.0.1 • Published 12 months ago

@screw-hand/modern-npm-package v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

modern-npm-package

An npm package for demonstration purposes using TypeScript to build for both the ECMAScript Module format (i.e. ESM or ES Module) and CommonJS Module format (CJS). It can be used in Node.js and browser applications.

Get Started

  1. Run npm install in your terminal
  2. Then run npm run build
  3. Update the package.json file "name" field with your own package name. Example @username/package-name
  4. Create an account with npm if you don't have one already. Also be sure to enable two-factor authentication
  5. Sign in to your npm account in your terminal with npm login
  6. Run npm publish --access=public to publish your package