Gathering detailed insights and metrics for @denkristoffer/babel-plugin-date-fns
Gathering detailed insights and metrics for @denkristoffer/babel-plugin-date-fns
Gathering detailed insights and metrics for @denkristoffer/babel-plugin-date-fns
Gathering detailed insights and metrics for @denkristoffer/babel-plugin-date-fns
npm install @denkristoffer/babel-plugin-date-fns
Typescript
Module System
Node Version
NPM Version
65.4
Supply Chain
78.9
Quality
74.7
Maintenance
100
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
21,141
Last Day
1
Last Week
2
Last Month
5
Last Year
58
92 Stars
35 Commits
15 Forks
5 Watching
6 Branches
53 Contributors
Minified
Minified + Gzipped
Latest Version
0.2.1
Package Id
@denkristoffer/babel-plugin-date-fns@0.2.1
Unpacked Size
4.01 kB
Size
2.01 kB
File Count
4
NPM Version
6.4.1
Node Version
10.15.3
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
2
Compared to previous week
Last month
0%
5
Compared to previous month
Last year
-81.4%
58
Compared to previous year
1$ npm i --save date-fns 2$ npm i --save-dev babel-plugin-date-fns
Transforms
1import { distanceInWordsToNow, differenceInYears, format } from 'date-fns';
roughly to
1import distanceInWordsToNow from 'date-fns/distanceInWordsToNow'; 2import differenceInYears from 'date-fns/differenceInYears'; 3import format from 'date-fns/format';
1{ 2 "plugins": ["date-fns"], 3 "presets": ["es2015"] 4}
1module: { 2 rules: [{ 3 test: /\.js$/, 4 exclude: /node_modules/, 5 use: { 6 loader: 'babel-loader', 7 presets: ['es2015'], 8 plugins: ['date-fns'], 9 }, 10 }], 11}
Heavily inspired by babel-plugin-lodash and babel-plugin-recharts.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/23 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
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