![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
converts javascript code with markdown comments into documentation markdown pages
Aurelius is a simple library to convert code with markdown comments to markdown pages.
It's meant to be a helpful tool to convert executable and testable code into documentation pages. One of the hard parts of mantaining an updated documentation is making sure the code examples still work. If you write your documentation pages as code, you can execute them to make sure they are always updated.
If you want to run aurelius from the command line only once, you can do:
npx aurelius <file paths>
When you run aurelius from the cli, you have two arguments:
--out
: path to the folder we will write the markdown files to (if not set, output files will be at the same directory as the input files)yarn global add aurelius
or
npm install -g aurelius
Then you can run:
aurelius --out <output folder> <file paths>
For example:
aurelius --out docs src/**
You can also install aurelius as a dependency and use it directly in your code:
In your command line:
yarn add aurelius
In your code:
const aurelius = require('aurelius');
...
const code = await fs.readFile("file.js");
const markdown = aurelius(code, 'javascript');
FAQs
converts javascript code with markdown comments into documentation markdown pages
The npm package aurelius receives a total of 0 weekly downloads. As such, aurelius popularity was classified as not popular.
We found that aurelius 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.