# prism-casenotation

> A PRISM Case Notation parser.

Latest version **1.0.0** (published 2013-07-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install prism-casenotation
pnpm add prism-casenotation
yarn add prism-casenotation
bun add prism-casenotation
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2013-07-11 |
| First published | 2013-07-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Michael Nowack |
| Maintainers | syranez |
| Keywords | prism |

## Links

- npm: https://www.npmjs.com/package/prism-casenotation
- Repository: git@github.com:syranez/prism-casenotation
- Issues: https://github.com/syranez/prism-casenotation/issues
- npm.io page: https://npm.io/package/prism-casenotation

## Alternatives

- [@oh-my-pi/pi-natives](https://npm.io/package/@oh-my-pi/pi-natives.md) — 51.8K weekly downloads
- [@capgo/capacitor-light-sensor](https://npm.io/package/@capgo/capacitor-light-sensor.md) — 3.0K weekly downloads
- [@heyhuynhgiabuu/pi-diff](https://npm.io/package/@heyhuynhgiabuu/pi-diff.md) — 492 weekly downloads
- [@lotsa/verdant-lang-asm](https://npm.io/package/@lotsa/verdant-lang-asm.md) — 38 weekly downloads
- [new-era-syntax](https://npm.io/package/new-era-syntax.md) — 20 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2013-07-11

## README

# prism-casenotation

This modules parses a PRISM CaseNotation and splits it into the known parts.

The syntax of a PRISM Case Notation is shown on http://www.washingtonpost.com/wp-srv/special/politics/prism-collection-documents/

[![build status](https://secure.travis-ci.org/syranez/prism-casenotation.png)](http://travis-ci.org/syranez/prism-casenotation)

## Installation

`npm install prism-casenotation`

... or to install the package globally:

`npm install -g prism-casenotation`

## Usage

    var PrismCaseNotation = request("prism-casenotation");

    var yourPersonalCaseNotation = "...";
    var caseNotation = PrismCaseNotation(yourPersonalCaseNotation);
    
    console.log("My Provider:    " + caseNotation.provider);
    console.log("My ContentType: " + caseNotation.contentType);
    console.log("My Source:      " + caseNotation.source);
    console.log("My Year:        " + caseNotation.year);
    console.log("My Serial:      " + caseNotation.serial);
    
    // Bonus
    if (caseNotation.isProvider("Google")) {
        console.log("Shame on you!");
    }

## License

MIT

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