1.0.10 • Published 3 years ago

create-es6 v1.0.10

Weekly downloads
-
License
AGPL-version-3.0
Repository
-
Last release
3 years ago

npm init es6

To initialise a free and open ESM project ("type"="module") in Node.js, simply issue the following command:

npm init es6

I made this as an alternative to npm init -y (which produces a package.json file for a CommonJS project by default) because I was sick of (forgetting to) add the type declaration into the package file manually every time.

This is the package.json file it creates:

{
  "name": "",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "type": "module",
  "license": "AGPL-version-3.0",
  "private": false,
  "engines": {
    "node": ">= 14.0.0",
    "npm": ">= 6.0.0"
  },
  "homepage": "",
  "repository": {
    "type": "git",
    "url": ""
  },
  "bugs": "",
  "keywords": [],
  "author": {
    "name": "",
    "email": "",
    "url": ""
  },
  "contributors": [

  ],
  "scripts": {
    "dev": "",
    "test": ""
  },
  "dependencies": {

  },
  "devDependencies": {

  }
}

Like this? Fund us!

Small Technology Foundation is a tiny, independent not-for-profit.

We exist in part thanks to patronage by people like you. If you share our vision and want to support our work, please become a patron or donate to us today and help us continue to exist.

Copyright

Copyright © 2021-present Aral Balkan, Small Technology Foundation.

License

ISC

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago