Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/foxfirecodes/solc-fast
a simple ESM wrapper around the native solc compiler to allow for faster compile times.
https://github.com/foxfirecodes/solc-fast
Last synced: 5 days ago
JSON representation
a simple ESM wrapper around the native solc compiler to allow for faster compile times.
- Host: GitHub
- URL: https://github.com/foxfirecodes/solc-fast
- Owner: foxfirecodes
- License: mit
- Created: 2023-04-19T00:07:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-19T00:11:00.000Z (over 1 year ago)
- Last Synced: 2024-12-25T05:21:15.121Z (12 days ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# solc-fast
> a simple ESM wrapper around the native solc compiler to allow for faster compile times.
[`solc`](https://npmjs.com/package/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
```bash
pnpm add solc-fast
```## usage
```js
import { compile } from 'solc-fast'const compiledOutput = await compile({
language: 'Solidity',
// ...
})
```