Gathering detailed insights and metrics for @yomed/packer
Gathering detailed insights and metrics for @yomed/packer
Gathering detailed insights and metrics for @yomed/packer
Gathering detailed insights and metrics for @yomed/packer
npm install @yomed/packer
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
3 Stars
13 Commits
2 Forks
1 Watchers
1 Branches
1 Contributors
Updated on Jun 22, 2024
Latest Version
2.0.0
Package Id
@yomed/packer@2.0.0
Unpacked Size
56.06 kB
Size
19.33 kB
File Count
4
NPM Version
6.14.4
Node Version
12.16.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
This is a simple port of /packer/ by Dean Edwards to node.js.
If you use npm:
npm install packer
If you don't use npm, clone this repository or download the latest version using the GitHub repository Downloads link.
This module contains one function called pack(script, base62, shrink)
:
> var packer = require('packer');
> packer.pack('1 + 2');
'1+2'
> packer.pack('', true);
'eval(function(p,a,c,k,e,r){e=String;if(!\'\'.replace(/^/,String)){while(c--)r[c]=k[c]||c;k=[function(e){return r[e]}];e=function(){return\'\\\\w+\'};c=1};while(c--)if(k[c])p=p.replace(new RegExp(\'\\\\b\'+e(c)+\'\\\\b\',\'g\'),k[c]);return p}(\'\',2,0,\'\'.split(\'|\'),0,{}))'
It also adds the packer
command:
$ packer -h
usage: <script> [options]
options:
-i FILE Input file (default stdin)
-o FILE Output file (default stdout)
-b Base62 encode
-s Shrink variables
$ echo 1 + a | packer -b
eval(function(p,a,c,k,e,r){e=String;if(!''.replace(/^/,String)){while(c--)r[c]=k[c]||c;k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1+0',2,2,'a|'.split('|'),0,{}))
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/13 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
12 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
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