Security News
UK Officials Consider Banning Ransomware Payments from Public Entities
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
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
The npm package ratel receives a total of 2 weekly downloads. As such, ratel popularity was classified as not popular.
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
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.