Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
rasper
Advanced tools
Readme
Node.js parse argument options make ease.
Rasper transforms command arguments into an easy-to-use formatted object. Flags will be converted into key-value. If there is define flag without value the result will be assumed to be true. Boolean-looking arguments always will be returned as booleans. Numeric-looking arguments always will be returned as numbers. _
contains all arguments that didn't have an flag associated.
Install with npm
$ npm install rasper
Install with Yarn
$ yarn add rasper
Run with npx (without installing!)
$ npx rasper
// cli.js
const argv = require('rasper')
console.dir(argv)
// console
$ pwa-installer dist/**/*.html -f 3 -n -o 4 foo bar baz --manifest --config=pwa.config.js 2 4 -f=99
{
_: [ 'dist/**/*.html', 'foo', 'bar', 'baz', 2, 4 ],
n: true,
o: 4,
manifest: true,
config: 'pwa.config.js',
f: 99
}
Note: If you don't provide an argument process.argv.slice(1)
is defined by default.
Want to contribute? Follow these recommendations.
Designed with ♥ by CJ Patoilo. Licensed under the MIT License.
FAQs
Node.js parse argument options make ease.
The npm package rasper receives a total of 20 weekly downloads. As such, rasper popularity was classified as not popular.
We found that rasper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.