This commit is contained in:
2026-03-31 16:38:22 -07:00
commit 38940436a7
2112 changed files with 376929 additions and 0 deletions

13
node_modules/gray-matter/lib/parse.js generated vendored Normal file
View File

@ -0,0 +1,13 @@
'use strict';
const getEngine = require('./engine');
const defaults = require('./defaults');
module.exports = function(language, str, options) {
const opts = defaults(options);
const engine = getEngine(language, opts);
if (typeof engine.parse !== 'function') {
throw new TypeError('expected "' + language + '.parse" to be a function');
}
return engine.parse(str, opts);
};