# obby-lib

> We are using _ava_ for testing and _rollup_ for exporting library and handling dependencies for the tiniest package possible.

Latest version **0.2.0** (published 2020-02-12) · 0 weekly downloads

## Install

```sh
npm install obby-lib
pnpm add obby-lib
yarn add obby-lib
bun add obby-lib
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2020-02-12 |
| First published | 2019-07-22 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8.0.0 |
| Dependencies | 5 |
| Unpacked size | 939.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | cikito-obby |

## Links

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

## Dependencies (5)

- [ms](https://npm.io/package/ms.md) ^2.0.0
- [esm](https://npm.io/package/esm.md) ^3.2.25
- [ramda](https://npm.io/package/ramda.md) ^0.26.1
- [moment](https://npm.io/package/moment.md) ^2.24.0
- [accounting](https://npm.io/package/accounting.md) ^0.4.1

## Recent versions

- 0.2.0 (latest) — 2020-02-12
- 0.1.12 — 2020-01-24
- 0.1.11 — 2020-01-22
- 0.1.10 — 2020-01-13
- 0.1.9 — 2020-01-07
- 0.1.8 — 2020-01-07
- 0.1.7 — 2020-01-07
- 0.1.6 — 2020-01-07
- 0.1.5 — 2019-10-21
- 0.1.3 — 2019-10-21
- 0.1.2 — 2019-10-21
- 0.1.1 — 2019-10-21
- 0.1.0 — 2019-07-22

## README

# Obby lib

We are using _ava_ for testing and _rollup_ for exporting library and handling dependencies
for the tiniest package possible.

Setup

```
git clone https://github.com/Cikito/obby-lib.git
cd obby-lib
nvm use 10.12.00
yarn
yarn build
yarn link

# go to the app
# npm link obby-lib
# meteor has betrayed us and it does not work currently
# go to obby-components
npm link obby-lib
```

Dev

```
cd src
touch yourFunctionName.js
touch yourFunctionName.test.js
# set up test do some coding then:
yarn run test
```

Deploy

```
yarn run build
# we need to figure out how we are going to deploy this to npm
```

## Development convetions

- All files go in `src` folder there are no sub folders
- A file per lib function.
- Always have seperate test file per lib function (this is we dev the function localy in this package)
- Regular function naming convention: `<name>.js`, `<name>.test.js`
- Transformer function naming convention: `<TypePassedIn__TypeReturned>.js`, `<TypePassedIn__TypeReturned>.test.js`
- Any data that needs to be mocked for tests goes in the `mocks` folder.

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