New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tokel/cryptoconditions-js

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tokel/cryptoconditions-js

This is the 'cryptoconditions' library for Komodo cc modules development.

  • 0.1.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Notes on 'cryptoconditions' library

This is the 'cryptoconditions' library for Komodo cc modules development.

Dev language: rust, with wasm support

For use in a js app this lib could be compiled as a wasm module with the wasm-pack, use this cmd to build a wasm:

wasm-pack build --target nodejs

See pkg/cryptoconditions_bs.js for supported javascript cryptoconditions api.

Use as a global module

To add the wasm to your nodejs project first make it as a global node module:

cd ~/your-repo-dir/cryptoconditions-js/cryptoconditions/pkg
npm link -g

then make a link to the global npm module for your project

cd ~/your-project-dir
npm link cryptoconditions

Use as a local module

Add a link to this repo into your package.json:

  "dependencies": {
    "cryptoconditions-js": "git+https://github.com/dimxy/cryptoconditions-js.git#master",
    ...
  }

Use in browser

To use the cryptoconditions wasm in browser:

  • Build a wasm with wasm-pack build cmd
  • Use browserify tool to create a js module usable in a web app

Publish new npm version

Reference

$ wasm-pack build --target nodejs
$ cd pkg
$ #check the version and package name of the library in package.json
$ npm publish --access=public

FAQs

Package last updated on 20 Jun 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc