To get started, you'll need to install the package into your project:
install module
bash
npm i content@git+https://content:eba6dc7213df81f9a8b1469aafc35055db94ef72@git.getcode.me/content/content.git#main
How to init module
JavaScript
const requirements = {
phash: true,
jshash: true,
sharp: true,
imagemin: true
}
const content = new Content({ appToken: 'your-bucket-token', appName: 'your-bucket-name', timeout: 45 * 1000, mode: 'local', requirements })