Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
The command-line interface for exprs.sh.
exprs is a micromodule hosting and registry service for JavaScript. No worry about setting lint, formatting, transpilations or test runners. Just write and share your code.
Install the package from npm:
npm install --global exprs
# or with `yarn`
yarn global add exprs
Install a micromodule:
exprs add @nkzawa/leftPad
Use it on your applications as always you do with node modules:
const leftPage = require("@nkzawa/leftPad");
Install micromodules defined in package.json
.
This command is the default so you can execute it as just exprs
.
exprs install
# or just
exprs
dependencies
and devDependencies
are defined on the exprs
field:
{
"exprs": {
"dependencies": {
"@nkzawa/leftPad": "leftPad_a01",
"@username/aliasName": "moduleName_b12",
"someModule_c23": "someModule_c23"
}
}
}
To not install devDependencies
, use the --production
option:
exprs --production
Install a micromodule from the registry and add it to package.json
.
exprs add @nkzawa/leftPad
To install as devDependencies
, run with the --dev
(or -d
) option:
exprs add --dev @nkzawa/leftPad
Upgrade aliases to the latest version of micromodules.
exprs upgrade
Uninstall a micromodule and remove it from package.json
.
exprs remove @nkzawa/leftPad
Display the help message.
exprs help
When your npm package has dependencies on exprs micromodules,
you want to setup a npm hook script
to install micromodules along with npm install
:
{
"scripts": {
"install": "exprs"
},
"dependencies": {
"exprs": "*"
}
}
MIT
FAQs
A micromodule hosting and registry for JavaScript
We found that exprs 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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.