# nebula

> Nebula: deploy to the decentralized web

Latest version **0.1.5** (published 2022-12-07) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install nebula
pnpm add nebula
yarn add nebula
bun add nebula
```

Provides the command `nebula`.

## Health

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

Positive: has types; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2022-12-07 |
| First published | 2014-02-28 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 113.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | cjm, mholtzman |

## Links

- npm: https://www.npmjs.com/package/nebula
- npm.io page: https://npm.io/package/nebula

## Dependencies (8)

- [cbor](https://npm.io/package/cbor.md) 8.1.0
- [solc](https://npm.io/package/solc.md) 0.8.17
- [ethers](https://npm.io/package/ethers.md) 5.7.1
- [eth-provider](https://npm.io/package/eth-provider.md) 0.13.5
- [eth-ens-namehash](https://npm.io/package/eth-ens-namehash.md) 2.0.8
- [ipfs-http-client](https://npm.io/package/ipfs-http-client.md) 56.0.0
- [@ensdomains/content-hash](https://npm.io/package/@ensdomains/content-hash.md) 2.5.7
- [@ensdomains/address-encoder](https://npm.io/package/@ensdomains/address-encoder.md) 0.2.18

## Recent versions

- 0.1.5 (latest) — 2022-12-07
- 0.1.4 — 2022-10-14
- 0.1.3 — 2022-09-19
- 0.1.2 — 2021-12-28
- 0.1.1 — 2021-12-23
- 0.1.0 — 2021-12-23
- 0.0.6 — 2021-09-14
- 0.0.5 — 2021-09-14
- 0.0.4 — 2021-06-23
- 0.0.3 — 2021-05-17
- 0.0.2 — 2020-11-18
- 0.0.1 — 2014-02-28

## README

# Nebula

#### Nebula is a utility for deploying apps to the decentralized web

If your dapp resolves via DNS or centralized servers is it really a dapp?

## Install
```
npm install nebula
```

## Programmatic Interface

#### Create the Nebula client

```
import n from 'nebula'
const nebula = n(ipfs, ethereum)
```
`ipfs` can be:
  - A [js-ipfs](https://github.com/ipfs/js-ipfs) instance
  - Configuration for [ipfs-http-client](https://github.com/ipfs/js-ipfs/blob/master/packages/ipfs-http-client/README.md#importing-the-module-and-usage)
  - An IPFS API URL e.g. `https://[authToken]@ipfs.nebula.land` or `http://localhost:5001`
  
If omitted, a connection to `http://localhost:5001` will be used

`ethereum` can be:
 - Any [EIP-1193](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md) provider instance, we recommend [`eth-provider`](https://github.com/floating/eth-provider)
 - Configuration for [`eth-provider`](https://github.com/floating/eth-provider)
 
If omitted, an [`eth-provider`](https://github.com/floating/eth-provider) instance with default configuration will be used

#### Deploy an app
```
await nebula.deploy('./app', { ensName: 'nebula.eth' })
```

#### Resolve an app
```
await nebula.resolve('nebula.eth')
```

## Command Line Interface

#### Deploy an app
```
› nebula deploy ./app nebula.eth
```

#### Resolve an app
```
› nebula resolve nebula.eth
```

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