# security-context

> Security Context

Latest version **4.0.0** (published 2019-07-26) · 0 weekly downloads

## Install

```sh
npm install security-context
pnpm add security-context
yarn add security-context
bun add security-context
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2019-07-26 |
| First published | 2019-01-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 14.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21 |
| Maintainers | davidlehn, dlongley, mattcollier, msporny |

## Links

- npm: https://www.npmjs.com/package/security-context
- Repository: https://github.com/w3c-dvcg/security-vocab
- Homepage: https://w3c-dvcg.github.io/security-vocab/
- Issues: https://github.com/w3c-dvcg/security-vocab/issues
- npm.io page: https://npm.io/package/security-context

## Recent versions

- 4.0.0 (latest) — 2019-07-26
- 3.0.1 — 2019-05-16
- 3.0.0 — 2019-05-16
- 2.0.0 — 2019-03-29
- 1.0.0 — 2019-01-09

## README

Security Vocabulary
===================

This repository contains the [Digital Verification Community Group][DVCG]
Security Vocabulary and a [npm package][security-context] that exports related
contexts and constants.

Security Vocabulary
-------------------

Security Vocabulary specification: https://w3c-dvcg.github.io/security-vocab/.

Context Package
---------------

The repository contains [JSON-LD][] contexts for the Security Vocabulary.
These are also packaged in a [npm package][security-context] for CommonJS and
ES Modules.  To use with NPM and Node.js, use the following:

```
npm install security-context
```

The package exposes two values:
- `contexts`: A Map from context URI to JSON-LD context.
- `constants`: An Object of shorthand keys mapped to context URIs.

```js
const {contexts, constants} = require('security-context');
```

With ES Modules:
```js
// use one of the following forms:
import * as securityvocab1 from 'security-context';
import {default as securityvocab2} from 'security-context';
import {contexts, constants} from 'security-context';
```

[DVCG]: https://w3c-dvcg.github.io/
[JSON-LD]: https://json-ld.org/
[security-context]: https://www.npmjs.com/package/security-context

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