# subjects-utils

> Utilities to use subject codes (BISAC)

Latest version **0.0.2** (published 2014-12-25) · Apache 2 license · 0 weekly downloads

## Install

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

## 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.0.2 |
| Published | 2014-12-25 |
| First published | 2014-11-18 |
| Weekly downloads | 0 |
| License | Apache 2 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Samy Pessé |
| Maintainers | samypesse |
| Keywords | licenses |

## Links

- npm: https://www.npmjs.com/package/subjects-utils
- Repository: https://github.com/GitbookIO/subjects-utils
- Issues: https://github.com/GitbookIO/subjects-utils/issues
- npm.io page: https://npm.io/package/subjects-utils

## Dependencies (1)

- [capitalize](https://npm.io/package/capitalize.md) 0.5.0

## Recent versions

- 0.0.2 (latest) — 2014-12-25
- 0.0.1 — 2014-11-18

## README

# Licenses Utilities

[![NPM version](https://badge.fury.io/js/subjects-utils.svg)](http://badge.fury.io/js/subjects-utils)

This node package contains multiple utilies to manage BISAC subjects.

### How to install it?

```
$ npm install subjects-utils
```

### How to use it?

Include the library:

```js
var subjects = require("subjects-utils");
```

By code:

```js
var subject = subjects.byCode("ANT007000");
// subject.label -> "ANTIQUES & COLLECTIBLES / Buttons & Pins"
```

By label:

```js
var subject = subjects.byLabel('ANTIQUES & COLLECTIBLES / Dolls');
// subject.code -> "ANT007000"
```

All BISAC codes:

```js
subjects.all.bisac
```

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