
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@enkidevs/curriculum-parser-json
Advanced tools
This parser processes an Enki JSON and produces the Enki Curriculum AST.
const {
contentTypes: { INSIGHT }
} = require("@enkidevs/curriculum-helpers");
const {
getParser: getMarkdownParser
} = require("@enkidevs/curriculum-parser-markdown");
const {
getCompiler: getJSONCompiler
} = require("@enkidevs/curriculum-compiler-json");
const {
getParser: getJSONParser
} = require("@enkidevs/curriculum-parser-json");
const jsonCompiler = getJSONCompiler(INSIGHT);
const mdParser = getMarkdownParser(INSIGHT);
const jsonParser = getJSONParser(INSIGHT);
// get ast from a string
const ast = mdParser.parseSync(sampleInsight)
// get json from ast
const json = jsonCompiler.compileSync(ast)
// get ast back from json (using this package)
const ast2 = jsonParser.parseSync(json)
FAQs
Parses Enki Curriculum JSON into an AST
We found that @enkidevs/curriculum-parser-json demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers 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.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.