Installations
npm install babel-plugin-replace-import-src-to-where
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
6.10.1
NPM Version
3.10.10
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
rexhome7326
Download Statistics
Total Downloads
4,183
Last Day
2
Last Week
8
Last Month
34
Last Year
240
GitHub Statistics
1 Stars
9 Commits
2 Watching
1 Branches
1 Contributors
Bundle Size
892.00 B
Minified
393.00 B
Minified + Gzipped
Package Meta Information
Latest Version
1.2.1
Package Id
babel-plugin-replace-import-src-to-where@1.2.1
Size
1.09 kB
NPM Version
3.10.10
Node Version
6.10.1
Total Downloads
Cumulative downloads
Total Downloads
4,183
Last day
-33.3%
2
Compared to previous day
Last week
-27.3%
8
Compared to previous week
Last month
78.9%
34
Compared to previous month
Last year
-26.6%
240
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
1
babel-plugin-replace-import-src-to-where
make your import or require path from this
import aaa from "src/file/aaa/path";
var bbb = require("src/file/bbb/path");
var config = {
ccc: "src/file/ccc/path"
}
to this
import aaa from "lib/file/aaa/path";
var bbb = require("lib/file/bbb/path");
var config = {
ccc: "lib/file/ccc/path"
}
Install
$ npm install babel-plugin-replace-import-src-to-where
Usage for your .babelrc
1{ 2 "env": { 3 "dev": { 4 "plugins": [ 5 "replace-import-src-to-where" 6 ] 7 } 8 } 9}
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 0/9 approved changesets -- score normalized to 0
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.6
/10
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