Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
raml-1-parser
Advanced tools
See http://raml.org for more information about RAML.
This parser is at a beta state of development, as part of the API Workbench development cycle (http://apiworkbench.com).
git clone https://github.com/raml-org/raml-js-parser-2
cd raml-js-parser-2
npm install
node test/test.js //here you should observe JSON representation of XKCD API in your console
node test/testAsync.js //same as above but in asynchronous mode
test/test.js
test/testAsync.js
##Web
In order to use your parser dependent code on web you may call the web-tools/webPackage.js
script for your code in order to construct a Webpack bundle. The script accepts following command line parameters:
The script requires following modules: webpack
and mkdir
. These may be installed locally:
npm install webpack
npm install mkdirp
or globally (in this case the should be linked to the project)
npm install webpack -g
npm install json-loader -g
npm install mkdirp -g
npm link webpack
npm link mkdirp
npm link json-loader
Example can be found at examples/web-example
. In order to regenerate example bundle, run
node ./web-tools/webPackage.js -srcPath ./examples/web-example/page.js -dstPath ./examples/web-example/bundle/bundle.js
from the project root.
FAQs
DEPRECATION NOTICE: please note that this parser is now deprecated, please use [webapi-parser](https://github.com/raml-org/webapi-parser) instead.
The npm package raml-1-parser receives a total of 8,647 weekly downloads. As such, raml-1-parser popularity was classified as popular.
We found that raml-1-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.