# @dcntrlzd/helios

> Solidity compilation tools for dapp development

Latest version **0.2.0-beta.2** (published 2018-10-08) · SEE LICENSE IN LICENSE.md license · 0 weekly downloads

## Install

```sh
npm install @dcntrlzd/helios
pnpm add @dcntrlzd/helios
yarn add @dcntrlzd/helios
bun add @dcntrlzd/helios
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0-beta.2 |
| Published | 2018-10-08 |
| First published | 2017-08-31 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 22 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Baris Gumustas |
| Maintainers | matrushka |
| Keywords | ethereum, dapp |

## Links

- npm: https://www.npmjs.com/package/@dcntrlzd/helios
- Repository: https://github.com/dcntrlzd/helios
- Homepage: https://github.com/dcntrlzd/helios#readme
- Issues: https://github.com/dcntrlzd/helios/issues
- npm.io page: https://npm.io/package/@dcntrlzd/helios

## Dependencies (3)

- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [callsite](https://npm.io/package/callsite.md) ^1.0.0
- [loader-utils](https://npm.io/package/loader-utils.md) ^1.1.0

## Recent versions

- 0.2.0-beta.2 (latest) — 2018-10-08
- 0.1.0-beta.8 (next) — 2018-04-17
- 0.2.0-beta.1 — 2018-10-08
- 0.1.0-beta.7 — 2018-04-01
- 0.1.0-beta.6 — 2018-03-30
- 0.1.0-beta.5 — 2018-03-25
- 0.1.0-beta.4 — 2018-01-28
- 0.1.0-beta.3 — 2017-12-23
- 0.1.0-beta.2 — 2017-12-23
- 0.1.0-beta.1 — 2017-11-25
- 0.1.0 — 2017-10-13
- 0.0.4 — 2017-09-08
- 0.0.3 — 2017-09-08
- 0.0.2 — 2017-09-07
- 0.0.1 — 2017-08-31

## README

# Helios

Solidity compilation tools for dapp development
* A wrapper around the solc compiler with import support
* Webpack loader using the compiler for importing solidity files
* SOON: jest transformer for importing solidity files

## TODO
* Convert to monorepo with a core package, webpack loader package and a jest transformer package

## How to use
* `npm install @dcntrlzd/helios`
* Configure webpack to use helios/loader for sol files
```js
{
  test: /\.sol$/,
  use: { loader: '@dcntrlzd/helios/loader' },
}
```
* To import your solidity files from your dapp just import them with es6 import syntax
```js
  import { SimpleStorage } from '../contracts/SimpleStorage.sol';
```
* To import your solidity files from your tests use the async compile method of `@dcntrlzd/helios/runner`
```js
  import Compiler from '@dcntrlzd/helios/compiler';

  const compiler = new Compiler();
  const { SimpleStorage } = await compiler.compileFile('../contracts/SimpleStorage.sol');
```

---
_Source: https://npm.io/package/@dcntrlzd/helios · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
