1.0.9 • Published 6 years ago
@heise/embetty-base v1.0.9
embetty-base ·

Embetty displays remote content like tweets or YouTube videos without compromising your privacy. embetty-base is the API used to retrieve the necessary data.
Quick Start
Install
$ npm install @heise/embetty-baseor
$ yarn add @heise/embetty-baseBasic Usage
const Embetty = require('@heise/embetty-base')
const embetty = new Embetty()
const tweet = await embetty.loadTweet(someStatusId)Using the cache
By default, remote service responses are stored in an LRU cache. The engine can be selected by defining the environment variable EMBETTY_CACHE. Example:
$ export EMBETTY_CACHE=redis://Running tests
$ yarn testDebug
You can set the DEBUG env to embetty.* to print debug info:
$ export DEBUG=embetty.*License
embetty-base is MIT licensed.
1.0.9
6 years ago
1.0.8
6 years ago
1.0.4
6 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
1.0.0-beta.6
8 years ago
1.0.0-beta.5
8 years ago
1.0.0-beta.4
8 years ago
1.0.0-beta.2
8 years ago