solc-version
v1.0.0
Published
solc version
Downloads
737
Readme
Solc version
Requirements
- node 16.x
asdf
asdf plugin-add nodejs
Install
npm install solc-version
usage
- versions
const v = require('solc-version')
let select = await v.versions()
const { releases, nightly, all } = select
const v = require('solc-version')
const list = JSON.stringify(require('./utils/list.json'))
let select = await v.versions(list)
const { releases, nightly, all } = select
- version2url
const v = require('solc-version')
let version = 'v0.4.25-stable-2018.09.13'
let url = await v.version2url(version)
const v = require('solc-version')
let version = 'stable'
// let version = 'latest';
let url = await v.version2url(version)
const v = require('solc-version')
let version = 'v0.4.25-stable-2018.09.13'
const list = JSON.stringify(require('./utils/list.json'))
let url = await v.version2url(version, list)
License
MIT © alincode