Gathering detailed insights and metrics for valid-module
Gathering detailed insights and metrics for valid-module
npm install valid-module
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (97.31%)
JavaScript (2.69%)
Total Downloads
359,744
Last Day
6
Last Week
138
Last Month
634
Last Year
18,582
308 Commits
3 Watching
2 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
2.6.0
Package Id
valid-module@2.6.0
Unpacked Size
55.10 kB
Size
12.58 kB
File Count
30
NPM Version
10.1.0
Node Version
20.9.0
Publised On
24 Nov 2023
Cumulative downloads
Total Downloads
Last day
500%
6
Compared to previous day
Last week
53.3%
138
Compared to previous week
Last month
-37.8%
634
Compared to previous month
Last year
-55.8%
18,582
Compared to previous year
Verify that file or package, be it remote, or local, is a valid ECMAScript Module
npm install --global valid-module
valid-module
npm install --save valid-module
npx valid-module
import * as pkg from ('valid-module')
const pkg = require('valid-module')
1import * as pkg from 'https://unpkg.com/valid-module@^2.6.0/edition-deno/node.ts'
1<script type="module"> 2 import * as pkg from '//cdn.skypack.dev/valid-module@^2.6.0' 3</script>
1<script type="module"> 2 import * as pkg from '//unpkg.com/valid-module@^2.6.0' 3</script>
1<script type="module"> 2 import * as pkg from '//dev.jspm.io/valid-module@2.6.0' 3</script>
This package is published with the following editions:
valid-module/source/node.ts
is TypeScript source code with Import for modulesvalid-module/edition-browsers/node.js
is TypeScript compiled against ES2022 for web browsers with Import for modulesvalid-module
aliases valid-module/edition-es2022/node.js
valid-module/edition-es2022/node.js
is TypeScript compiled against ES2022 for Node.js 18 || 20 || 21 with Require for modulesvalid-module/edition-es2022-esm/node.js
is TypeScript compiled against ES2022 for Node.js 18 || 20 || 21 with Import for modulesvalid-module/edition-types/node.d.ts
is TypeScript compiled Types with Import for modulesvalid-module/edition-deno/node.ts
is TypeScript source code made to be compatible with DenoDiscover 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:
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no binaries found in the repo
Reason
SAST tool is run on all commits
Details
Reason
license file detected
Details
Reason
4 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-01-13
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More