Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
ripple-lib-compat
Advanced tools
A JavaScript API for interacting with Ripple in Node.js and the browser
A JavaScript API for interacting with the XRP Ledger
rippled
server from Node.js or a web browserSee also: RippleAPI Beginners Guide
npm
may work but we use yarn.lock
.In an existing project (with package.json
), install ripple-lib
:
$ yarn add ripple-lib
Then see the documentation and code samples.
What is ripple-lib used for? Here's a list of applications that use ripple-lib
. Open a PR to add your app or project to the list!
We have a low-traffic mailing list for announcements of new ripple-lib releases. (About 1 email per week)
If you're using the XRP Ledger in production, you should run a rippled server and subscribe to the ripple-server mailing list as well.
To build the library for Node.js:
$ yarn compile
The TypeScript compiler will output the resulting JS files in ./dist/npm/
.
To build the library for the browser:
$ yarn build
Gulp will output the resulting JS files in ./build/
.
For details, see the scripts
in package.json
.
cd
into the repository and install dependencies with yarn install
yarn test
Also, run yarn lint
to lint the code with tslint
.
The continuous integration tests require that the documentation stays up-to-date. If you make changes to the JSON schemas, fixtures, or documentation sources, you must update the documentation by running yarn run docgen
.
FAQs
A JavaScript API for interacting with Ripple in Node.js and the browser
We found that ripple-lib-compat 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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.