
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
create-spectacle
Advanced tools
create-spectacleThis package contains create-spectacle, the boilerplate-generator for Spectacle. The simplest usage is to run one of the following commands (based on your package manager of choice):
yarn create spectacle # yarn
npm create spectacle # npm
npx create-spectacle # using npx
pnpm create spectacle # using pnpm
Once running the respective command, you will be prompted to provide information about the spectacle project you'd like to create. Once you provide necessary information, a new spectacle project will be created in the directory derived from the project name you provided.
create-spectacle's core usage is via the interactive prompts. However, there are a handful of arguments/flags that you can provide to pre-fill prompt options:
yarn create spectacle my-presentation.--type or -t flag to specify the type of spectacle project you'd like to create. Options are jsx, tsx, or onepage. Example: yarn create spectacle -t onepage my-presentation.--lang or -l flag to specify the HTML lang attribute for your presentation. Example: yarn create spectacle -l en my-presentation.--port or -p flag to specify the port to run the presentation on. Example: yarn create spectacle -p 8080 my-presentation.If you want to bypass the prompts entirely, pass the -t, -l, and -p flags as well as the project name as the main argument. For example:
yarn create spectacle -t jsx -l en -p 8080 my-presentation
FAQs
Project generator for Spectacle
The npm package create-spectacle receives a total of 8 weekly downloads. As such, create-spectacle popularity was classified as not popular.
We found that create-spectacle demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.