Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
redark-theme
Advanced tools
A dark theme for Redoc
First, install from npm:
$ npm i redark-theme
Then, add the script and stylesheet from node_modules
to your HTML:
<link rel="stylesheet" href="node_modules/redark-theme/redark.css" />
<script src="node_modules/redark-theme/redark.js"></script>
Finally, initialize Redoc with the redark
theme:
<body>
<div id="redoc-container"></div>
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"></script>
<script>
Redoc.init(
'url/to/your/spec',
{ theme: redark },
document.getElementById('redoc-container')
);
</script>
</body>
You can also access the theme object in JavaScript:
import { theme } from 'redark-theme';
// use with the Redoc React component or something
FAQs
A dark theme for Redoc
The npm package redark-theme receives a total of 26 weekly downloads. As such, redark-theme popularity was classified as not popular.
We found that redark-theme 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
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.