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.
A command-line interface for HoneyBadger, a WIP ES2015+ to ES5 transpiler + bundler + minifier in Rust
A command-line interface for HoneyBadger, a WIP ES2015+ to ES5 transpiler + bundler + minifier in Rust.
honey-badger-cli [options]
honey-badger-cli --version
Options:
-h --help Show this screen.
--version Show version.
-e STRING, --string=STRING Specifies an input string.
-f FILE, --file=FILE Specifies the input file.
-o FILE, --output=FILE Specifies the output file.
--pretty Don't minify the output.
--ast Print out the Abstract Syntax Tree of the input.
You can install the executable globally from NPM using
npm install -g honey-badger-cli
or by executing npm link
in the project
directory.
Recompiles HoneyBadger and runs all tests using Mocha.
The test suite is using node.green's compat-table which features ES2015, ES2016 and ES2017 examples.
$ npm test
Execute make
in the project directory. Please also refer to the scripts
section of package.json
.
In case you want to work on a local copy of HoneyBadger,
add the following lines to native/Cargo.toml
:
[dependencies.badger]
path = "../../HoneyBadger"
import Badger from 'honey-badger-cli';
const instance = new Badger();
Returns a string containing the application's version.
Returns a string containing usage information.
Transpiles the given input, returns optionally a string.
options is an object which can take the following values:
key | type | purpose |
---|---|---|
file | String | Input path. |
ast | Boolean | Whether to return the AST. |
output | String | Output path. |
string | String | Input string. |
Allows access to the rust module implementing the following methods:
Returns a string.
Transforms the given input string into ES5 code. When minify is set to true, the output string will be minified.
Returns a String with the AST of the given input string.
0.0.3
0.0.2
FAQs
A command-line interface for HoneyBadger, a WIP ES2015+ to ES5 transpiler + bundler + minifier in Rust
We found that ratel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.