Gathering detailed insights and metrics for cronist
Gathering detailed insights and metrics for cronist
Gathering detailed insights and metrics for cronist
Gathering detailed insights and metrics for cronist
npm install cronist
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
33 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Jun 29, 2025
Latest Version
0.3.0
Package Id
cronist@0.3.0
Unpacked Size
13.43 kB
Size
4.94 kB
File Count
7
NPM Version
8.19.2
Node Version
18.12.1
Published on
Jun 12, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Transform comment documentation into ES modules.
cronist makes it easy to quickly hook up dynamic documentation into a documentation site. It also circumvents a problem with importing data as JSON files as described by this question on stackoverflow.
Features:
mdast
key on each documentation itemProof of concept: comments in rubico source and documentation site rubico.land
Write comment documentation following a basic @key #valid-markdown
schema.
1/** 2 * @name tap 3 * 4 * @synopsis 5 * ```coffeescript [specscript] 6 * var args ...any, 7 * tapper ...args=>Promise|any 8 * 9 * tap(tapper)(...args) -> Promise|args[0] 10 * ``` 11 * 12 * @description 13 * Call a function with a value, returning the value. Promises created by the tapper are resolved before returning the value. 14 * 15 * ```javascript [playground] 16 * pipe([ 17 * tap(console.log), 18 * value => value + 'bar', 19 * tap(console.log), 20 * ])('foo') // 'foo' 21 * // 'foobar' 22 * ``` 23 */ 24const tap = ...
Use cronist to parse the file containing the above comment documentation into ES modules.
1$ cronist file-that-had-the-above-tap.js 2export default [ 3 { 4 name: 'tap', 5 synopsis: '```coffeescript [specscript]\n' + 6 'var args ...any,\n' + 7 ' tapper ...args=>Promise|any\n' + 8 '\n' + 9 'tap(tapper)(...args) -> Promise|args[0]\n' + 10 '```', 11 description: 'Call a function with a value, returning the value. Promises created by the tapper are resolved before returning the value.\n' + 12 '\n' + 13 '```javascript [playground]\n' + 14 'pipe([\n' + 15 ' tap(console.log),\n' + 16 " value => value + 'bar',\n" + 17 ' tap(console.log),\n' + 18 "])('foo') // 'foo'\n" + 19 " // 'foobar'\n" + 20 '```', 21 mdast: { 22 name: {/* ... */}, 23 synopsis: {/* ... */}, 24 description: {/* ... */} 25 } 26 }, 27 ... 28]
with npm
1npm i cronist
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
8 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 6
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More