Socket
Socket
Sign inDemoInstall

@snapshot-labs/snapshot.js

Package Overview
Dependencies
63
Maintainers
2
Versions
328
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @snapshot-labs/snapshot.js

[![npm](https://img.shields.io/npm/v/@snapshot-labs/snapshot.js?label=npm)](https://www.npmjs.com/package/@snapshot-labs/snapshot.js)


Version published
Maintainers
2
Install size
10.7 MB
Created

Readme

Source

Snapshot.js

npm

Install

Snapshot.js was designed to work both in the browser and in Node.js.

In Node Applications

To install Snapshot.js on Node.js, open your terminal and run:

npm i @snapshot-labs/snapshot.js
Browser

You can create an index.html file and include Snapshot.js with:

<script src="https://cdn.jsdelivr.net/npm/@snapshot-labs/snapshot.js"></script>

Development

Install dependencies
yarn
Build package
yarn build
Test cases
yarn test
# or
yarn test:once
Other useful scripts
# Format ABI
ts-node scripts/abi.ts
# Generate hash for types
ts-node scripts/generateHashWithTypes.ts

License

MIT.

FAQs

Last updated on 09 Aug 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc