# stackerjs-utils

> [![Travis](https://img.shields.io/travis/parpeoficial/stackerjs-utils.svg)](https://travis-ci.org/parpeoficial/stackerjs-utils) [![Codecov](https://codecov.io/gh/parpeoficial/stackerjs-utils/branch/master/graph/badge.svg)](https://codecov.io/gh/parpeofici

Latest version **1.1.3** (published 2018-04-19) · 0 weekly downloads

## Install

```sh
npm install stackerjs-utils
pnpm add stackerjs-utils
yarn add stackerjs-utils
bun add stackerjs-utils
```

## Health

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

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

Warnings: low downloads; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2018-04-19 |
| First published | 2018-02-23 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 12.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Vinicius Guedes |
| Maintainers | parpeoficial |
| Keywords | stackerjs, utilities, framework |

## Links

- npm: https://www.npmjs.com/package/stackerjs-utils
- Repository: https://github.com/parpeoficial/stackerjs-utils
- Homepage: https://github.com/parpeoficial/stackerjs-utils#readme
- Issues: https://github.com/parpeoficial/stackerjs-utils/issues
- npm.io page: https://npm.io/package/stackerjs-utils

## Dependencies (2)

- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.26.0
- [stackerjs-types](https://npm.io/package/stackerjs-types.md) ^1.1.1

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 1.1.3 (latest) — 2018-04-19
- 1.1.2 — 2018-04-19
- 1.1.1 — 2018-04-19
- 1.1.0 — 2018-04-19
- 1.0.11 — 2018-04-16
- 1.0.10 — 2018-04-16
- 1.0.9 — 2018-04-16
- 1.0.8 — 2018-04-16
- 1.0.7 — 2018-04-16
- 1.0.6 — 2018-04-11
- 1.0.5 — 2018-03-15
- 1.0.4 — 2018-03-13
- 1.0.3 — 2018-03-09
- 1.0.2 — 2018-02-23
- 1.0.1 — 2018-02-23
- … 1 more at https://npm.io/package/stackerjs-utils/versions

## README

[![Travis](https://img.shields.io/travis/parpeoficial/stackerjs-utils.svg)](https://travis-ci.org/parpeoficial/stackerjs-utils)
[![Codecov](https://codecov.io/gh/parpeoficial/stackerjs-utils/branch/master/graph/badge.svg)](https://codecov.io/gh/parpeoficial/stackerjs-utils)
[![Maintainability](https://api.codeclimate.com/v1/badges/affe138d60076b13349c/maintainability)](https://codeclimate.com/github/parpeoficial/stackerjs-utils/maintainability)
[![Dependencies](https://img.shields.io/david/parpeoficial/stackerjs-utils.svg)](https://david-dm.org/parpeoficial/stackerjs-utils)
[![npm](https://img.shields.io/npm/dt/stackerjs-utils.svg)](https://www.npmjs.com/package/stackerjs-utils)

[![NPM](https://nodei.co/npm/stackerjs-utils.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/stackerjs-utils/)

![StackerJS](https://s3-sa-east-1.amazonaws.com/parpe.prod/StackerJS-logo.png)

# Utils

Package of utilities that works nicely in and outside [StackerJS](https://github.com/parpeoficial/stackerjs)

## Usage

### Config

```javascript
import { Config } from 'stackerjs-utils';

Config.set('any.value', { name: 'stackerjs-utils' });
Config.set('any.type', 'Hello');

Config.get('any.value'); // { "name": "stackerjs" }
Config.get('any.type'); // Hello
```

#### .ENV file

When a .env is configured in project root like this:

```env
DB_DRIVER=mysql
APP_NAME=stackerjs-utils
```

It can be accessed by Config as:

```javascript
import { Config } from 'stackerjs-utils';

Config.get('db.driver'); // mysql
Config.get('DB_DRIVER'); // mysql
```

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