Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
inferno-presenter
Advanced tools
This is a framework to build beautiful web slides. It is based on inferno and rxjs to provide high performance and extensibility.
To get started, you should create an npm package and install the inferno-presenter library:
npm init
npm i -D inferno-presenter webpack webpack-dev-server
In your package.json
file you can now insert the following scripts:
{
"scripts": {
"start": "slides serve",
"build": "slides dist"
}
}
Alternatively you can use the docker image to get everything up and running quickly.
Now you should be able to generate the basic project layout and shoot up the development server with the npm start
script:
npm start
src/slides
and they will be automatically picked up..tsx
, .jsx
and .md
slides. They will all be converted to inferno components.interface Slide {
/**
* The id of the slide. This has to be unique and will be added to the slide container on the page.
*/
id: string;
/**
* The slide title.
*/
title: string;
/**
* Either a functional component or a component class. This component will be rendered as the slide content.
*/
Component: any;
}
src/main.scss
.sass
, .scss
or .css
file with the same basename next to the slide file. You can use the slide id to restrict the styles to the context.FAQs
A framework to create html presentations
The npm package inferno-presenter receives a total of 11 weekly downloads. As such, inferno-presenter popularity was classified as not popular.
We found that inferno-presenter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.