
Security News
Node.js TSC Declines to Endorse Feature Bounty Program
The Node.js TSC opted not to endorse a feature bounty program, citing concerns about incentives, governance, and project neutrality.
build-shell-script
Advanced tools
Build shell aliases and functions from Node
npm install --save build-shell-script
const buildShellScript = require('build-shell-script');
buildShellScript.alias('gi', 'git init');
//=> 'alias gi="git init"
buildShellScript.fn('gi', 'git init');
//=> function gi() {
// git init
// }
buildShellScript.fn('g', [
'git add -A',
'git commit',
'git push'
]);
//=> function g() {
// git add -A
// git commit
// git push
// }
Name | Description | Type | Default |
---|---|---|---|
prefix | Left side of shell alias | string | None (required) |
suffix | Right side of shell alias | string | None (required) |
Type: string
Name | Description | Type | Default |
---|---|---|---|
prefix | Left side of shell function | string | None (required) |
suffix | Right side of shell function | string or array | None (required) |
Type: string
MIT © Dawson Botsford
FAQs
Build shell aliases and functions
The npm package build-shell-script receives a total of 2 weekly downloads. As such, build-shell-script popularity was classified as not popular.
We found that build-shell-script 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
The Node.js TSC opted not to endorse a feature bounty program, citing concerns about incentives, governance, and project neutrality.
Research
Security News
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.