shazam

2.2.1 • Public • Published

shazam

Shazam is a simple code driven presentation system. It is designed primarily to make it easier to write a presentation that has demos and that sort of thing baked in.

NPM

How it Works

Under the hood shazam just uses bespoke.js and a number of bespoke plugins. All it's really doing is dynamically creating the HTML with the various builder functions before letting bespoke do it's thing.

Example Usage

const s = require('shazam/slide');

require('shazam')({
  title: 'A simple presentation system',
  slides: [
    'A simple presentation system',
    'more test',
    s().img('http://farm6.staticflickr.com/5350/7053917095_279527795c_o.jpg'),
    s().img('http://farm4.staticflickr.com/3145/2944068022_19a918b09e_b.jpg'),
  ]
});

This can be run using budo or similar.

In this repository, simply run yarn start:demo

LICENSE

The MIT License (MIT)

Copyright (c) 2020 Damon Oehlman damon.oehlman@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Sidebar

Install

npm i shazam

Weekly Downloads

6

Version

2.2.1

License

MIT

Unpacked Size

13.5 kB

Total Files

15

Last publish

Collaborators

  • damonoehlman