New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

d2l-hypermedia-constants

Package Overview
Dependencies
Maintainers
0
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d2l-hypermedia-constants

Library of constants for communicating with D2L's Hypermedia APIs

  • 6.143.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.7K
increased by6.27%
Maintainers
0
Weekly downloads
 
Created
Source

d2l-hypermedia-constants

Library of constants useful when using hypermedia.

Installation

d2l-hypermedia-constants can be installed from NPM:

npm install --save d2l-hypermedia-constants

Usage

Node.js

const hypermediaConstants = require('d2l-hypermedia-constants');
console.log(hypermediaConstants.Actions);
console.log(hypermediaConstants.Classes);
console.log(hypermediaConstants.Rels);

ES6 Module Import

import {Actions, Classes, Rels} from 'd2l-hypermedia-constants';
console.log(Actions);
console.log(Classes);
console.log(Rels);

ES6 Module Global

<script type="module" src="../d2l-hypermedia-constants/d2l-hypermedia-constants.js"></script>
<script>
console.log(D2L.Hypermedia.Actions);
console.log(D2L.Hypermedia.Classes);
console.log(D2L.Hypermedia.Rels);
</script>

Versioning & Releasing

The incremental-release GitHub Action is called from the release.yml GitHub Action workflow to handle version changes and releasing.

When a PR is merged, a minor version bump will happen automatically, a release will be created, and the new version will be published to NPM.

Coding styles

See the Best Practices & Style Guide for information on naming conventions, plus information about the EditorConfig rules used in this repo.

Keywords

FAQs

Package last updated on 14 Feb 2025

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc