solc-fast
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

solc-fast

a simple ESM wrapper around the native solc compiler to allow for faster compile times.

solc is convenient and easy to install, but it uses a WASM build of the solc compiler under the hood which is DRASTICALLY slower than using the native binary. this simple package downloads the solc native compiler and provides a simple wrapper function around calling it w/ the standard JSON format.

installation

pnpm add solc-fast

usage

import { compile } from 'solc-fast'

const compiledOutput = await compile({
  language: 'Solidity',
  // ...
})

Readme

Keywords

Package Sidebar

Install

npm i solc-fast

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

9.46 kB

Total Files

9

Last publish

Collaborators

  • rayzr