Socket
Socket
Sign inDemoInstall

security-context

Package Overview
Dependencies
0
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    security-context

Security Context


Version published
Weekly downloads
5K
increased by8.64%
Maintainers
4
Install size
15.5 kB
Created
Weekly downloads
 

Changelog

Source

4.0.0 - 2019-07-26

Added

  • Add terms for EcdsaSecp256 signature suites.
  • Add terms for EcdsaSecp256 keys.
  • Add term DeriveSecretOperation.

Readme

Source

Security Vocabulary

This repository contains the Digital Verification Community Group Security Vocabulary and a npm package 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 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.
const {contexts, constants} = require('security-context');

With ES Modules:

// 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';

FAQs

Last updated on 26 Jul 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc