Socket
Socket
Sign inDemoInstall

@tzconnect/ligojs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tzconnect/ligojs

> A JavaScript/TypeScript wrapper for [Ligo](https://ligolang.org/)


Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Ligo.js

A JavaScript/TypeScript wrapper for Ligo

WARNING: This project is in active development and things might change or break at a short notice.

CircleCI codecov npm (scoped)

Prerequisite

  • For Windows or Mac please install DOCKER before installing this.
  • For Windows enable support for Linux containers

Install

npm i @tzconnect/ligojs

or

yarn add @tzconnect/ligojs

Available Scripts

  • build to build the package in dist folder.
  • test to run the tests
  • lint to run the linter
  • size-limit to see the size of the package
  • analyze to show the deps and source size in browser
  • prepare npm prepare hook that executes build
  • postinstall npm post install hook to setup necessary env for Ligo to work.

How postinstall works

Checks if the platform is one of 3: win32, darwin or linux.

  • If linux then installs the linux binary.
  • If win32 or darwin then pulls the latest ligo docker image.

Available Methods

  • compile-contract => compileContract
  • compile-storage => compileStorage
  • compile-parameter => compileParameter
  • compile-expression => compileExpression
  • dry-run => dryRun
  • evaluate-expr
  • evaluate-call
  • measure-contract

FAQs

Package last updated on 09 Nov 2021

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