$ npm install valid-module
Verify that file or package, be it remote, or local, is a valid ECMAScript Module
npm install --global valid-modulevalid-modulenpm install --save valid-modulenpx valid-moduleimport * as pkg from ('valid-module')const pkg = require('valid-module')<script type="module">
import * as pkg from '//cdn.pika.dev/valid-module/^1.0.0'
</script>
<script type="module">
import * as pkg from '//unpkg.com/valid-module@^1.0.0/edition-browsers/browser.js'
</script>
<script type="module">
import * as pkg from '//dev.jspm.io/valid-module@1.0.0'
</script>
This package is published with the following Editions:
valid-module/source/index.ts is TypeScript source code with Import for modulesvalid-module/edition-browsers/browser.js is TypeScript compiled against ESNext for web browsers with Import for modulesvalid-module aliases valid-module/edition-ESNext/index.jsvalid-module/edition-ESNext/index.js is TypeScript compiled against ESNext for Node.js with Require for modulesEnvironments older than Node.js v10 may need Babel's Polyfill or something similar.
Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under:
© 2010 - cnpmjs.org x YWFE | Home | YWFE