Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contentful/node-apps-toolkit

Package Overview
Dependencies
Maintainers
8
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/node-apps-toolkit

A collection of helpers and utilities for creating NodeJS Contentful Apps

  • 3.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.8K
increased by13.12%
Maintainers
8
Weekly downloads
 
Created
Source

Node Toolkit for Contentful Apps

The node-apps-toolkit is a growing collection of helpers and utilities for building Contentful Apps with Node.js.

Compatibiltiy

Requires an Node.js LTS version. Currently supported node versions:

  • v18
  • v20 Odd-numbered and not-yet LTS major versions are not supported.

Installation

npm install --save @contentful/node-apps-toolkit
# or
yarn add @contentful/node-apps-toolkit

Available features

  • :lock: Request Verification
  • :writing_hand: Request Signing
  • :bust_in_silhouette: CMA Token generation for App Identities

For more details, check out the API documentation.

Example Usage

const { getManagementToken } = require('@contentful/node-apps-toolkit');
const { appInstallationId, spaceId, privateKey } = require('./some-constants');

getManagementToken(privateKey, {appInstallationId, spaceId})
    .then((token) => {
      console.log('Here is your app token:', token)
    })

For more information, check out the full API documentation.

More coming soon

We're excited to expand this toolkit with new features. If you have any suggestions or requests for features you'd like to see, please create an issue in this repo.

Contributing and local development

Please see CONTRIBUTING.md for more information on how to contribute to this project.

FAQs

Package last updated on 29 Jan 2024

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