dcontentful

1.0.0 • Public • Published

Dependency Status devDependency Status

Installation

npm i --save dcontentful

Initialisation

const client = require('dcontentful').createClient({
  space: process.env.SPACE_ID,
  accessToken: process.env.ACCESS_TOKEN,
});

Examples

Get a specific entry

const entryId = 'entryId';
const entry = await client.getEntry(entryId);

Readme

Keywords

none

Package Sidebar

Install

npm i dcontentful

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • dragonnodejs