Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-present
Advanced tools
A simple, lightweight framework for creating presentations quickly using React components for slides.
A simple, lightweight framework for creating presentations quickly using React components for slides.
Uses hot module loading via webpack
for easy presentation development. Keyboard, mouse, gui, and url navigation between slides via react-router
. Code highlighting and editing via react-ace
. Presentation app can be viewed entirely from static files without running a webserver, and can be easily hosted via github pages.
> npm install
> npm start
Open http://localhost:9001
in your browser.
Fork and clone the repo, then:
> npm install
> cp -r ./presentations/component-library ./presentations/{your-presentation-directory}
> npm run build-dev {your-presentation-directory}
Navigate to http://localhost:9001
in your browser. Make changes to {your-presentation-title}/slideList
, and they should be hot-loaded into your browser whenever you save.
Slides are normal React components that can be written with JSX and ES6. You're free to include whatever markup and styles you'd like.
Include and order slides within {your-presentation-title}/slideList
.
I recommend using glamorous to style slides, but CSS can also be imported from within slide source code.
import './my-slide-styles.css';
Use the CodeBlock
component to get js syntax highlighting and code editing.
import CodeBlock from '../components/CodeBlock';
const block = (
<CodeBlock>
const foo = 'bar';
</CodeBlock>
);
Create a zip file containing a presentation within the built-presentations
directory.
Extract the zip file and open index.html
to view the presentation.
> npm run package {your-presentation-directory}
Slide transitions cause some screen sharing apps like WebEx to have significant lag.
Disable transitions by pressing ctrl-t
.
FAQs
A simple, lightweight framework for creating presentations quickly using React components for slides.
The npm package react-present receives a total of 0 weekly downloads. As such, react-present popularity was classified as not popular.
We found that react-present 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.