contensis-delivery-api
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "contensis-delivery-api", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Contensis Javascript Delivery API", | ||
@@ -25,3 +25,3 @@ "engines": { | ||
}, | ||
"author": "Alex Pop", | ||
"author": "Zengenti Ltd <development@zengenti.com>", | ||
"license": "ISC", | ||
@@ -28,0 +28,0 @@ "bugs": { |
@@ -1,2 +0,2 @@ | ||
# contensis-delivery-api | ||
# contensis-delivery-api [![NPM version](https://img.shields.io/npm/v/contensis-delivery-api.svg?style=flat)](https://www.npmjs.com/package/contensis-delivery-api) | ||
Contensis JavaScript Delivery API implementation written in TypeScript. | ||
@@ -7,2 +7,4 @@ | ||
It can be used in any ES5 compatible project. | ||
* JavaScript/TypeScript code running in a browser | ||
* JavaScript/TypeScript code running in Node.js | ||
* Angular | ||
@@ -14,3 +16,3 @@ * React | ||
The examples folder contains Express, React and Angular test applications. | ||
The *examples* folder contains Express, React and Angular test applications. | ||
@@ -23,2 +25,5 @@ ## Installation | ||
## Contensis support | ||
This version supports the Contensis 11.3 releases. | ||
## Examples | ||
@@ -83,1 +88,12 @@ | ||
Read our [documentation on the Contensis Javascript Delivery API](https://developer.zengenti.com/contensis/api/delivery/js/) to learn of all it's features. | ||
## Browser support | ||
This library relies on the *fetch API* being available at runtime. In modern browsers *fetch* is available natively, and a polyfill is provided for older browsers. | ||
The library build that targets browsers can be found in the *bundle* folder. | ||
## Node.js support | ||
The library supports Node.js 8 and above. | ||
When using this library in Node.js you need to add the *node-fetch* npm package as a dependecy and ensure *fetch* is registered as a global function: | ||
```js | ||
global.fetch = require("node-fetch"); | ||
``` |
963952
148
96