Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Bundles NodeJS modules/libraries for web browsers.
$ one index.js > browser.js
Or, from NodeJS:
one('index.js').save('bundle.js')
See tests for more examples and documentation.
USAGE
onejs [entry] [options]
ENTRY
An entry might be any filename that's under an NPM package.
Examples:
onejs myapp/index.js
cd myapp && onejs
myapp test/index.js
myapp lib/foo/bar.js
OPTIONS
-o --target Target file to save the build.
-d --debug Enable SourceUrls and verbose mode.
-g --global Expose a global require.
-r --require Require given URI from the entry module. e.g -a .\/foo,underscore
-i --ignore Ignore given modules or packages. e.g -i lib\/foo.js,underscore
-n --native Forward builtins & unresolved modules to native/global require.
-v --version Show version and exit.
-h --help Show this help and exist.
DEBUGGING
Enable debugging by setting the environment variable "DEBUG" as following
DEBUG=one:* onejs
one('index.js').save('bundle.js')
All Available methods:
one('index.js').debug().global().require('foobar').ignore('jquery').native().save('/tmp/foo.js')
See the command-line manual above for details.
FAQs
One is a new React Framework that makes Vite serve both native and web.
The npm package one receives a total of 1,573 weekly downloads. As such, one popularity was classified as popular.
We found that one demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.