Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-impress

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-impress

A Impress.js generator for Yeoman

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Generator-impress

A Yeoman generator for the breathtaking Impress.js presentation framework. http://bartaz.github.io/impress.js/

Usage

Install generator-impress:

npm install generator-impress

Make a new directory, and cd into it:

mkdir my-new-project && cd $_

Run yo impress:

yo impress

After all files are created you can view your slides with grunt

grunt server

SubGenerators

Available subgenerators:

Step

Generates a Step file.

Example:

yo impress:step "Step Title"

Produces steps/step-title.html:

<h2>Step Title</h2>

<q>You can change the position,
rotation and the other parameters
in the <b>list.json</b> file.</q>

And the step filename will be added to your steps/list.json file with position, rotation and other configuration.

[
    {
        "uri": "start.html",
        "id": "title",
        "class": "step title",
        "data": {
            "x": 0,
            "y": 0,
            "scale": 4
        }
    },
    {
        "uri": "step-title.html",
        "id": "step-title",
        "class": "step",
        "data": {
            "x": 3000,
            "y": 0,
            "scale": 1,
            "rotate": 90
        }
    }
]

You can add your own data- attributes but be carefull, as the file has to be valid json.

License

MIT License

Keywords

FAQs

Package last updated on 21 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc