Catalog npm
PACKAGE EXPLORERView in registry

221-prismic

npm

## How to use

Versions collected15
Direct dependencies2From release 1.0.14
Last observed20 Oct, 18:59 UTC

README

Current package documentation

221-Prismic

How to use

Import package :

let Content = require('221-prismic')

Get data from all documents :

const content = new Content({
	baseUrl: 'myprismicrepo',
	debug: true,
	lang: 'fr-fr'
})

Error callback :

content.onError((err) => {
	console.log("Something went wrong: ", err)
})

Success callback (got data) :

content.onReady(() => {
	console.log("Got data")
})

Get all keys:

var key = content.get()

Get keys of doc:

var key = content.get('header')

Get specific keys of doc:

var key = content.get('header.item1')

Github : https://github.com/Studio221/221-Prismic

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 15

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.14Registry latest12 Apr 20182
1.0.1312 Apr 20182
1.0.129 Mar 20182
1.0.1122 Feb 20182
1.0.1022 Feb 20182
1.0.922 Feb 20182
1.0.821 Feb 20182
1.0.721 Feb 20182
1.0.621 Feb 20182
1.0.521 Feb 20182
1.0.421 Feb 20182
1.0.321 Feb 20182
1.0.219 Feb 20182
1.0.119 Feb 20182
1.0.019 Feb 20182

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
studio221/221-prismic

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:58 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:b13b8f33635c58721a9ff228111a3da299ffbb91820a89399421511bb58229e5