@kiosked/demo-creatives

1.2.0 • Public • Published

Demo creative system

Collection of demo creatives, configurations, and a system to deploy them to S3.

About

This package contains demo creatives for use with demo ad placements in the Kiosked script. Creatives are deployed to S3 and a management script is published on npm (privately).

To deploy, run the np executable - creatives will be deployed to production.

Usage

To use this package in the client script, you must import @kiosked/demo-creatives:

const { getManifestURL } = require("@kiosked/demo-creatives");

const manifest = await fetch(getManifestURL("production"));
// manifest =
// {
//     "testing-160x600": {
//         "link": "http://kiosked.com",
//         "creatives": [{
//             "url": "https://resources-staging.intags.com/demo/releases/v1.0.0/testing-160x600-1.png",
//             "size": "160x600"
//         }]
//     }
// }

Readme

Keywords

Package Sidebar

Install

npm i @kiosked/demo-creatives

Weekly Downloads

3

Version

1.2.0

License

UNLICENSED

Unpacked Size

9.78 kB

Total Files

4

Last publish

Collaborators

  • indra-orbita
  • kiosked-perry
  • kiosked-edvard