{"_id":"yaml-front-matter","_rev":"10305","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","dist-tags":{"latest":"4.1.1","next":"4.0.0-4"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"time":{"modified":"2021-06-03T09:57:46.000Z","created":"2012-10-15T05:17:31.488Z","4.1.1":"2020-12-13T04:12:10.891Z","4.1.0":"2019-12-24T21:39:54.551Z","4.0.0":"2018-03-09T18:42:22.099Z","4.0.0-4":"2018-02-28T15:24:57.725Z","4.0.0-3":"2018-02-27T23:01:18.043Z","3.4.1":"2018-02-27T21:39:42.893Z","4.0.0-2":"2018-02-27T21:35:00.762Z","4.0.0-1":"2018-02-27T20:57:28.679Z","4.0.0-0":"2018-02-27T19:48:19.011Z","3.4.0":"2016-02-17T22:42:23.161Z","3.3.0":"2016-01-30T01:41:30.514Z","3.2.3":"2014-12-14T00:36:27.855Z","3.0.1":"2014-02-28T20:18:11.853Z","2.2.0":"2014-02-17T06:31:13.270Z","2.1.11":"2013-10-26T15:44:24.614Z","2.1.1":"2013-10-26T15:43:11.774Z","2.1.0":"2013-08-31T17:38:07.884Z","1.0.3":"2013-02-05T03:36:26.706Z","1.0.2":"2012-10-15T05:18:37.951Z","1.0.1":"2012-10-15T05:17:31.488Z"},"users":{"tunnckocore":true,"clintonhalpin":true,"geekwen":true,"gbas":true},"author":{"name":"Derek Worthen"},"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"versions":{"4.1.1":{"author":{"name":"Derek Worthen"},"license":"MIT","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","main":"dist/yamlFront.js","module":"src/index.js","version":"4.1.1","keywords":["yaml","front matter","json"],"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"dependencies":{"commander":"^6.2.0","js-yaml":"^3.14.1"},"devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.10","babel-loader":"^8.2.2","mocha":"^8.2.1","should":"^13.2.3","standard-version":"^9.0.0","webpack":"^4.44.2","webpack-cli":"^4.2.0"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js"},"scripts":{"test":"npm run build && mocha -u bdd --reporter spec","start":"npm run build:browser && http-server ./docs -p 8080","release":"standard-version","build":"webpack --mode production","build:browser":"webpack --mode production --env.browser"},"gitHead":"b26f02d07eacdf5b84fc4a365bcfb48ae4ba0d4b","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","_id":"yaml-front-matter@4.1.1","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"shasum":"66eaa9a998fc3dd723708c73aa8e06e79cac91c9","size":49960,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-4.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-4.1.1.tgz"},"_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"directories":{},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml-front-matter_4.1.1_1607832730696_0.351214502504241"},"_hasShrinkwrap":false,"publish_time":1607832730891,"_cnpm_publish_time":1607832730891},"4.1.0":{"author":{"name":"Derek Worthen"},"license":"MIT","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","main":"dist/yamlFront.js","module":"src/index.js","version":"4.1.0","keywords":["yaml","front matter","json"],"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"dependencies":{"commander":"^2.14.1","js-yaml":"^3.10.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/preset-env":"^7.7.7","babel-loader":"^8.0.6","http-server":"^0.11.1","mocha":"^6.2.2","should":"^13.2.3","standard-version":"^7.0.1","webpack":"^4.41.4","webpack-cli":"^3.3.10"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js"},"scripts":{"test":"npm run build && mocha -u bdd --reporter spec","start":"npm run build:browser && http-server ./docs -p 8080","release":"standard-version","build":"webpack --mode production","build:browser":"webpack --mode production --env.browser"},"gitHead":"926eb2a41cd3a6d8c12967e6bcdc7dfcfb3f811a","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","_id":"yaml-front-matter@4.1.0","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"shasum":"218da823c2539901a441a041fcf7092c48ec1595","size":50295,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-4.1.0.tgz"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml-front-matter_4.1.0_1577223594459_0.7458096197471511"},"_hasShrinkwrap":false,"publish_time":1577223594551,"_cnpm_publish_time":1577223594551},"4.0.0":{"author":{"name":"Derek Worthen"},"license":"MIT","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","main":"dist/yamlFront.js","module":"src/index.js","version":"4.0.0","keywords":["yaml","front matter","json"],"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"dependencies":{"commander":"1.0.0","js-yaml":"^3.10.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.3","babel-preset-env":"^1.6.1","browser-sync":"^2.11.1","commander":"^2.14.1","gulp":"^3.9.0","gulp-concat":"^2.6.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^1.6.0","gulp-uglify":"^1.5.1","http-server":"^0.11.1","mocha":"~1.3.0","should":"0.6.3","standard-version":"^4.3.0","webpack":"^4.0.1","webpack-cli":"^2.0.9"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js"},"scripts":{"test":"npm run build && mocha -u bdd --reporter spec","start":"npm run build:browser && http-server ./docs -p 8080","release":"standard-version","build":"webpack --mode production","build:browser":"webpack --mode production --env.browser"},"gitHead":"0f9c1d8bf99664760f645f6e6846cfb7abbc912e","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","_id":"yaml-front-matter@4.0.0","_shasum":"11c378c54eac3061a82cbaf693a69b4e4c44f484","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"dist":{"shasum":"11c378c54eac3061a82cbaf693a69b4e4c44f484","size":50348,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-4.0.0.tgz"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml-front-matter_4.0.0_1520620942018_0.7039663853267044"},"_hasShrinkwrap":false,"publish_time":1520620942099,"_cnpm_publish_time":1520620942099},"4.0.0-4":{"author":{"name":"Derek Worthen"},"license":"MIT","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","main":"dist/yamlFront.js","module":"src/index.js","version":"4.0.0-4","keywords":["yaml"],"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"dependencies":{"commander":"1.0.0","js-yaml":"^3.10.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.3","babel-preset-env":"^1.6.1","browser-sync":"^2.11.1","commander":"^2.14.1","gulp":"^3.9.0","gulp-concat":"^2.6.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^1.6.0","gulp-uglify":"^1.5.1","http-server":"^0.11.1","mocha":"~1.3.0","should":"0.6.3","standard-version":"^4.3.0","webpack":"^4.0.1","webpack-cli":"^2.0.9"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js"},"scripts":{"test":"npm run build && mocha -u bdd --reporter spec","start":"npm run build:browser && http-server ./docs -p 8080","release":"standard-version","build":"webpack --mode production","build:browser":"webpack --mode production --env.browser"},"gitHead":"fa1ae4e296e4cd80ddd24f7cdf862021e11c733b","readmeFilename":"README.md","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","_id":"yaml-front-matter@4.0.0-4","_shasum":"8c285d972b7a8c57b782a59f1c7fa83ac87a2683","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"dist":{"shasum":"8c285d972b7a8c57b782a59f1c7fa83ac87a2683","size":50284,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-4.0.0-4.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-4.0.0-4.tgz"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml-front-matter_4.0.0-4_1519831497639_0.6145865371210353"},"_hasShrinkwrap":false,"publish_time":1519831497725,"_cnpm_publish_time":1519831497725},"4.0.0-3":{"author":{"name":"Derek Worthen"},"license":"MIT","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","main":"dist/yamlFront.js","module":"src/index.js","version":"4.0.0-3","keywords":["yaml"],"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"dependencies":{"commander":"1.0.0","js-yaml":"^3.10.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.3","babel-preset-env":"^1.6.1","browser-sync":"^2.11.1","commander":"^2.14.1","gulp":"^3.9.0","gulp-concat":"^2.6.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^1.6.0","gulp-uglify":"^1.5.1","http-server":"^0.11.1","mocha":"~1.3.0","should":"0.6.3","standard-version":"^4.3.0","webpack":"^4.0.1","webpack-cli":"^2.0.9"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js"},"scripts":{"test":"mocha -u bdd --reporter spec","start":"npm run build:browser && http-server ./docs -p 8080","release":"standard-version","build":"webpack --mode production","build:browser":"webpack --mode production --env.browser"},"gitHead":"fb5ffb72cd922ad966e3239e142b702dc22448f6","readmeFilename":"README.md","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","_id":"yaml-front-matter@4.0.0-3","_shasum":"effcba11d467fda9def67961ef2fe229b957394d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"dist":{"shasum":"effcba11d467fda9def67961ef2fe229b957394d","size":49500,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-4.0.0-3.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-4.0.0-3.tgz"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml-front-matter_4.0.0-3_1519772477820_0.8715528862989672"},"_hasShrinkwrap":false,"publish_time":1519772478043,"_cnpm_publish_time":1519772478043},"3.4.1":{"author":{"name":"Derek Worthen"},"license":"MIT","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","version":"3.4.1","keywords":["yaml"],"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"dependencies":{"commander":"1.0.0","js-yaml":"^3.5.2"},"devDependencies":{"browser-sync":"^2.11.1","gulp":"^3.9.0","gulp-concat":"^2.6.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^1.6.0","gulp-uglify":"^1.5.1","mocha":"~1.3.0","should":"0.6.3"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js"},"scripts":{"test":"mocha -u bdd --reporter spec","start":"gulp serve"},"gitHead":"91969841c34806b02c34966d633e25b442f69387","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","_id":"yaml-front-matter@3.4.1","_shasum":"e52e84fea6983b93755e9b1564dba989b006b5a5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"dist":{"shasum":"e52e84fea6983b93755e9b1564dba989b006b5a5","size":163108,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-3.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-3.4.1.tgz"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml-front-matter_3.4.1_1519767582752_0.5329231009382835"},"_hasShrinkwrap":false,"publish_time":1519767582893,"_cnpm_publish_time":1519767582893},"4.0.0-2":{"author":{"name":"Derek Worthen"},"license":"MIT","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","main":"index.js","module":"src/index.js","version":"4.0.0-2","keywords":["yaml"],"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"dependencies":{"commander":"1.0.0","js-yaml":"^3.10.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.3","babel-preset-env":"^1.6.1","browser-sync":"^2.11.1","commander":"^2.14.1","gulp":"^3.9.0","gulp-concat":"^2.6.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^1.6.0","gulp-uglify":"^1.5.1","http-server":"^0.11.1","mocha":"~1.3.0","should":"0.6.3","standard-version":"^4.3.0","webpack":"^4.0.1","webpack-cli":"^2.0.9"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js"},"scripts":{"test":"mocha -u bdd --reporter spec","start":"npm run build:browser && http-server ./docs -p 8080","release":"standard-version","build":"webpack --mode production","build:browser":"webpack --mode production --env.browser"},"readmeFilename":"README.md","gitHead":"8271a3f237468c139bf4e89ce8f6024e6e2caf18","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","_id":"yaml-front-matter@4.0.0-2","_shasum":"9e6cbd54894e479572de6025359961a3bafc9123","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"dist":{"shasum":"9e6cbd54894e479572de6025359961a3bafc9123","size":49402,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-4.0.0-2.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-4.0.0-2.tgz"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml-front-matter_4.0.0-2_1519767300687_0.0414689148999392"},"_hasShrinkwrap":false,"publish_time":1519767300762,"_cnpm_publish_time":1519767300762},"4.0.0-1":{"author":{"name":"Derek Worthen"},"license":"MIT","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","main":"index.js","module":"src/index.js","version":"4.0.0-1","keywords":["yaml"],"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"dependencies":{"commander":"1.0.0","js-yaml":"^3.10.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.3","babel-preset-env":"^1.6.1","browser-sync":"^2.11.1","commander":"^2.14.1","gulp":"^3.9.0","gulp-concat":"^2.6.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^1.6.0","gulp-uglify":"^1.5.1","http-server":"^0.11.1","mocha":"~1.3.0","should":"0.6.3","standard-version":"^4.3.0","webpack":"^4.0.1","webpack-cli":"^2.0.9"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js"},"scripts":{"test":"mocha -u bdd --reporter spec","start":"npm run build:browser && http-server ./docs -p 8080","release":"standard-version","build":"webpack --mode production","build:browser":"webpack --mode production --env.browser"},"readmeFilename":"README.md","gitHead":"1459c50ef147118c5481632e259d0dc59a7f7ddb","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","_id":"yaml-front-matter@4.0.0-1","_shasum":"76e3d33b3b09dc1c09c4d7f5dee67f7ea5c27202","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"dist":{"shasum":"76e3d33b3b09dc1c09c4d7f5dee67f7ea5c27202","size":49210,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-4.0.0-1.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-4.0.0-1.tgz"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml-front-matter_4.0.0-1_1519765048588_0.7784328302059589"},"_hasShrinkwrap":false,"publish_time":1519765048679,"_cnpm_publish_time":1519765048679},"4.0.0-0":{"author":{"name":"Derek Worthen"},"license":"MIT","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","main":"index.js","module":"src/index.js","version":"4.0.0-0","keywords":["yaml"],"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"dependencies":{"commander":"1.0.0","js-yaml":"^3.10.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.3","babel-preset-env":"^1.6.1","browser-sync":"^2.11.1","gulp":"^3.9.0","gulp-concat":"^2.6.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^1.6.0","gulp-uglify":"^1.5.1","http-server":"^0.11.1","mocha":"~1.3.0","should":"0.6.3","standard-version":"^4.3.0","webpack":"^4.0.1","webpack-cli":"^2.0.9"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js"},"scripts":{"test":"mocha -u bdd --reporter spec","start":"npm run build:browser && http-server ./docs -p 8080","release":"standard-version","build":"webpack --mode production","build:browser":"webpack --mode production --env.browser"},"readmeFilename":"README.md","gitHead":"fd1f4bdd1c8abfbda58433cc2399606bfd904b49","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","_id":"yaml-front-matter@4.0.0-0","_shasum":"cf646775a86ac449b0c20b3ef2a6d5d696793425","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"dist":{"shasum":"cf646775a86ac449b0c20b3ef2a6d5d696793425","size":48869,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-4.0.0-0.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-4.0.0-0.tgz"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml-front-matter_4.0.0-0_1519760898909_0.7605393328693566"},"_hasShrinkwrap":false,"publish_time":1519760899011,"_cnpm_publish_time":1519760899011},"3.4.0":{"author":{"name":"Derek Worthen"},"license":"MIT","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","version":"3.4.0","keywords":["yaml"],"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"dependencies":{"commander":"1.0.0","js-yaml":"^3.5.2"},"devDependencies":{"browser-sync":"^2.11.1","gulp":"^3.9.0","gulp-concat":"^2.6.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^1.6.0","gulp-uglify":"^1.5.1","mocha":"~1.3.0","should":"0.6.3"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js"},"scripts":{"test":"mocha -u bdd --reporter spec","start":"gulp serve"},"gitHead":"9b7f0c72e99d1db9adb53f9da19fa1aefa89ef09","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","_id":"yaml-front-matter@3.4.0","_shasum":"c4bb5c41e8797fef584b1872cc052cdc26210dca","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"dist":{"shasum":"c4bb5c41e8797fef584b1872cc052cdc26210dca","size":119576,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-3.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-3.4.0.tgz"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/yaml-front-matter-3.4.0.tgz_1455748938749_0.28325859643518925"},"directories":{},"publish_time":1455748943161,"_cnpm_publish_time":1455748943161,"_hasShrinkwrap":false},"3.3.0":{"author":{"name":"Derek Worthen"},"license":"MIT","name":"yaml-front-matter","description":"yaml front matter for JS. Parse yaml or JSON from the beginning of files.","version":"3.3.0","keywords":["yaml"],"repository":{"type":"git","url":"git+https://github.com/dworthen/js-yaml-front-matter.git"},"dependencies":{"commander":"1.0.0","js-yaml":"^3.5.2"},"devDependencies":{"browser-sync":"^2.11.1","gulp":"^3.9.0","gulp-concat":"^2.6.0","gulp-rename":"^1.2.2","gulp-sourcemaps":"^1.6.0","gulp-uglify":"^1.5.1","mocha":"~1.3.0","should":"0.6.3"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js","js-yaml":"node_modules/js-yaml/bin/js-yaml.js"},"scripts":{"test":"mocha -u bdd --reporter spec","start":"gulp serve"},"gitHead":"ef6adcda3b6707bbdb315c43993c8645746dde77","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","_id":"yaml-front-matter@3.3.0","_shasum":"0ac2c5fc760595c8c151d59cea6e50318a26b6ec","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"dist":{"shasum":"0ac2c5fc760595c8c151d59cea6e50318a26b6ec","size":119366,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-3.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-3.3.0.tgz"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"publish_time":1454118090514,"_cnpm_publish_time":1454118090514,"_hasShrinkwrap":false},"3.2.3":{"author":{"name":"Derek Worthen"},"name":"yaml-front-matter","description":"yaml front matter for JS using the js-yaml module","version":"3.2.3","repository":{"type":"git","url":"https://github.com/dworthen/js-yaml-front-matter"},"dependencies":{"commander":"1.0.0","js-yaml":"~3.2.3","is-browser":"~2.0.0"},"devDependencies":{"should":"0.6.3","mocha":"~1.3.0","serve":"~1.3.0"},"engines":{"node":">=0.8"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js","js-yaml":"node_modules/js-yaml/bin/js-yaml.js"},"scripts":{"test":"./node_modules/mocha/bin/mocha -u bdd --reporter spec","start":"./node_modules/serve/bin/serve ./"},"bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"homepage":"https://github.com/dworthen/js-yaml-front-matter","_id":"yaml-front-matter@3.2.3","_shasum":"0a821d50b4c498808b5b462a20759a81c4378e55","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"dist":{"shasum":"0a821d50b4c498808b5b462a20759a81c4378e55","size":26462,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-3.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-3.2.3.tgz"},"directories":{},"publish_time":1418517387855,"_cnpm_publish_time":1418517387855,"_hasShrinkwrap":false},"3.0.1":{"author":{"name":"Derek Worthen"},"name":"yaml-front-matter","description":"yaml front matter for JS using the js-yaml module","version":"3.0.1","repository":{"type":"git","url":"https://github.com/dworthen/js-yaml-front-matter"},"dependencies":{"commander":"1.0.0","js-yaml":"~3.0.1","is-browser":"~2.0.0"},"devDependencies":{"should":"0.6.3","mocha":"~1.3.0","serve":"~1.3.0"},"engines":{"node":">=0.8"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js","js-yaml":"node_modules/js-yaml/bin/js-yaml.js"},"scripts":{"test":"./node_modules/mocha/bin/mocha -u bdd --reporter spec","start":"./node_modules/serve/bin/serve ./"},"bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"_id":"yaml-front-matter@3.0.1","dist":{"shasum":"16815cf10150d29c3093b84fb3a0b6c99749ea91","size":26374,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-3.0.1.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"publish_time":1393618691853,"_cnpm_publish_time":1393618691853,"_hasShrinkwrap":false},"2.2.0":{"author":{"name":"Derek Worthen"},"name":"yaml-front-matter","description":"yaml front matter for JS using the js-yaml module","version":"2.2.0","repository":{"type":"git","url":"https://github.com/dworthen/js-yaml-front-matter"},"dependencies":{"commander":"1.0.0","js-yaml":"~3.0.1"},"devDependencies":{"should":"0.6.3","mocha":"~1.3.0"},"engines":{"node":">=0.8"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js","js-yaml":"node_modules/js-yaml/bin/js-yaml.js"},"scripts":{"test":"./node_modules/mocha/bin/mocha -u bdd --reporter spec"},"bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"_id":"yaml-front-matter@2.2.0","dist":{"shasum":"855102695f8dfb1eb12bab236daacaa039c77b18","size":4018,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-2.2.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"publish_time":1392618673270,"_cnpm_publish_time":1392618673270,"_hasShrinkwrap":false},"2.1.11":{"author":{"name":"Derek Worthen"},"name":"yaml-front-matter","description":"yaml front matter for JS using the js-yaml module","version":"2.1.11","repository":{"type":"git","url":"https://github.com/dworthen/js-yaml-front-matter"},"dependencies":{"commander":"1.0.0","js-yaml":"~2.1.0"},"devDependencies":{"should":"0.6.3","mocha":"~1.3.0"},"engines":{"node":">=0.8.x","npm":"1.1.x"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js","js-yaml":"node_modules/js-yaml/bin/js-yaml.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"_id":"yaml-front-matter@2.1.11","dist":{"shasum":"3382a53870637cff0df7d7ec11a788d7fe6bcd59","size":3988,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-2.1.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-2.1.11.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"publish_time":1382802264614,"_cnpm_publish_time":1382802264614,"_hasShrinkwrap":false},"2.1.1":{"author":{"name":"Derek Worthen"},"name":"yaml-front-matter","description":"yaml front matter for JS using the js-yaml module","version":"2.1.1","repository":{"type":"git","url":"https://github.com/dworthen/js-yaml-front-matter"},"dependencies":{"commander":"1.0.0","js-yaml":"~2.1.0"},"devDependencies":{"should":"0.6.3","mocha":"~1.3.0"},"engines":{"node":">=0.8.x","npm":"1.1.x"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js","js-yaml":"node_modules/js-yaml/bin/js-yaml.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"_id":"yaml-front-matter@2.1.1","dist":{"shasum":"644b6c248ad7c01578824f66ab8f9be02113667a","size":3987,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-2.1.1.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"publish_time":1382802191774,"_cnpm_publish_time":1382802191774,"_hasShrinkwrap":false},"2.1.0":{"author":{"name":"Derek Worthen"},"name":"yaml-front-matter","description":"yaml front matter for JS using the js-yaml module","version":"2.1.0","repository":{"type":"git","url":"https://github.com/dworthen/js-yaml-front-matter"},"dependencies":{"commander":"1.0.0","js-yaml":"~2.1.0"},"devDependencies":{"should":"0.6.3","mocha":"~1.3.0"},"engines":{"node":">=0.8.x","npm":"1.1.x"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js","js-yaml":"node_modules/js-yaml/bin/js-yaml.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"_id":"yaml-front-matter@2.1.0","dist":{"shasum":"f11a46efef1a3b09218643b9f1058920e09e3ccf","size":3844,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-2.1.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"publish_time":1377970687884,"_cnpm_publish_time":1377970687884,"_hasShrinkwrap":false},"1.0.3":{"author":{"name":"Derek Worthen"},"name":"yaml-front-matter","description":"yaml front matter for JS using the js-yaml module","version":"1.0.3","repository":{"type":"git","url":"https://github.com/dworthen/js-yaml-front-matter"},"dependencies":{"commander":"1.0.0","js-yaml":"~1.0.2"},"devDependencies":{"should":"0.6.3","mocha":"~1.3.0"},"engines":{"node":">=0.8.x","npm":"1.1.x"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js","js-yaml":"node_modules/js-yaml/bin/js-yaml.js"},"_id":"yaml-front-matter@1.0.3","dist":{"shasum":"a08d2811e62a1bd345fa3763d1603ce3b95a20d3","size":3603,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-1.0.3.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"publish_time":1360035386706,"_cnpm_publish_time":1360035386706,"_hasShrinkwrap":false},"1.0.2":{"author":{"name":"Derek Worthen"},"name":"yaml-front-matter","description":"yaml front matter for JS using the js-yaml module","version":"1.0.2","repository":{"type":"git","url":"https://github.com/dworthen/js-yaml-front-matter"},"dependencies":{"commander":"1.0.0","js-yaml":"~1.0.2"},"devDependencies":{"should":"0.6.3","mocha":"~1.3.0"},"engines":{"node":">=0.8.x","npm":"1.1.x"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js","js-yaml":"node_modules/js-yaml/bin/js-yaml.js"},"_id":"yaml-front-matter@1.0.2","dist":{"shasum":"cda345ff3f7f4cf35d7408bb22ffa47e9503bb28","size":3527,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-1.0.2.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"publish_time":1350278317951,"_cnpm_publish_time":1350278317951,"_hasShrinkwrap":false},"1.0.1":{"author":{"name":"Derek Worthen"},"name":"yaml-front-matter","description":"yaml front matter for JS using the js-yaml module","version":"1.0.1","repository":{"type":"git","url":"https://github.com/dworthen/js-yaml-front-matter"},"dependencies":{"commander":"1.0.0","js-yaml":"~1.0.1"},"devDependencies":{"should":"0.6.3","mocha":"~1.3.0"},"engines":{"node":">=0.8.x","npm":"1.1.x"},"bin":{"yaml-front-matter":"bin/js-yaml-front.js","js-yaml":"node_modules/js-yaml/bin/js-yaml.js"},"_id":"yaml-front-matter@1.0.1","dist":{"shasum":"ef8e80707ef42cac12f9a7ff7afd827a95eeb69f","size":3529,"noattachment":false,"key":"/yaml-front-matter/-/yaml-front-matter-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/yaml-front-matter/download/yaml-front-matter-1.0.1.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"dworthen","email":"worthend.derek@gmail.com"},"maintainers":[{"name":"dworthen","email":"worthend.derek@gmail.com"}],"directories":{},"publish_time":1350278251488,"_cnpm_publish_time":1350278251488,"_hasShrinkwrap":false}},"readme":"# Yaml Front Matter\n\nParses yaml or json at the front of a string. Places the parsed content, plus the rest of the string content, into an object literal.\n\n[Online Demo](https://dworthen.github.io/js-yaml-front-matter/).\n\n#### Breaking Changes\n\nThis readme is for the 4.x release, which introduces breaking changes. View the [changelog](CHANGELOG.md) for more information.\n\n[3.x readme](https://github.com/dworthen/js-yaml-front-matter/tree/v3.4.0)\n\n## Example\n\nThis\n\n```yaml\n---\nname: Derek Worthen\nage: 127\ncontact:\n  email: email@domain.com\n  address: some location\npets:\n  - cat\n  - dog\n  - bat\nmatch: !!js/regexp /pattern/gim\nrun: !!js/function function() { }\n---\nSome Other content\n```\n\n```js\nvar fs = require('fs');\nvar yamlFront = require('yaml-front-matter');\n\nfs.readFile('./some/file.txt', 'utf8', function(fileContents) {\n    console.log(yamlFront.loadFront(fileContents));\n});\n\n```\n\noutputs\n\n```js\n{ \n    name: 'Derek Worthen',\n    age: 127,\n    contact: { email: 'email@domain.com', address: 'some location' },\n    pets: [ 'cat', 'dog', 'bat' ],\n    match: /pattern/gim,\n    run: [Function],\n    __content: '\\nSome Other Content' \n}\n```\n\nMay also use JSON\n\n```json\n---\n{\n    \"name\": \"Derek Worthen\",\n    \"age\": \"young\",\n    \"anArray\": [\"one\",\"two\"],\n    \"subObj\":{\"field1\": \"one\"}\n}\n---\nSome content\n```\n\n> __NOTE:__ The `---` are required to denote the start and end of front matter. There must be a newline after the opening `---` and a newline preceding the closing `---`.\n\n## Install\n\n### npm\n\n```shell\n$ npm install yaml-front-matter\n```\n\nUse the `-g` flag if you plan on using the command line tool.\n\n```shell\n$ npm install yaml-front-matter -g\n```\n\n### Node or client with module bundler (webpack or browsify)\n\n```js\nvar yamlFront = require('yaml-front-matter');\n```\n    \n### Browser Bundle\n\nThe [dist/yamlFront.js](dist/yamlFront.js) client script will expose the yaml-front-matter library as a global, `yamlFront`. The client script for [js-yaml](https://github.com/nodeca/js-yaml) is also required. May need to load espirma for some use cases. See [js-yaml](https://github.com/nodeca/js-yaml) for more information.\n\n```html\n<script src=\"https://unpkg.com/js-yaml@3.10.0/dist/js-yaml.js\"></script>\n<script src=\"yamlFront.js\"></script>\n<script>\n  // parse front matter with yamlFront.loadFront(String);\n</script>\n```\n\n> **Note**: yaml-front-matter is delivered as a umd package so it should work within commonjs, amd and browser (as a global) environments.\n\n## Running Browser Example\n\n```shell\n$ npm install --dev && npm start\n```\n\nThen visit `localhost:8080`.\n\n## Building from source\n\nOutputs build files to `dist/`.\n\n```shell\n$ npm install --dev && npm run build\n```\n\n## Running Tests\n\n```shell\nnpm install --dev && npm test\n```\n\n## Command Line\n\n```shell\nUsage: yaml-front-matter [options] <yaml-front-matter content>\n\nOptions:\n\n-h, --help            output usage information\n-v, --version         output the version number\n-c, --content [name]  set the property name for the files contents [__content]\n--pretty              formats json output with spaces. \n```\n\n> **Note** The cli uses `safeLoadFront` and therefore will not parse yaml containing regexps, functions or undefined values.\n\n### Example\n\n```shell\n# Piping content from one file, through yaml parser and into another file\ncat ./some/file.txt | yaml-front-matter > output.txt\n```\n\n## JS-YAML\n\nYaml front matter wraps [js-yaml](https://github.com/nodeca/js-yaml) to support parsing yaml front-matter.\n\n## API\n\n### loadFront(string, [options])\n\n```js\nvar input = [\n        '---\\npost: title one\\n',\n        'anArray:\\n - one\\n - two\\n',\n        'subObject:\\n prop1: cool\\n prop2: two',\n        '\\nreg: !!js/regexp /pattern/gim',\n        '\\nfun: !!js/function function() {  }\\n---\\n',\n        'content\\nmore'\n    ].join('');\n\nvar results = yamlFront.loadFront(input);\nconsole.log(results);\n```\n\noutputs\n\n```shell\n{ post: 'title one',\n  anArray: [ 'one', 'two' ],\n  subObject: { obj1: 'cool', obj2: 'two' },\n  reg: /pattern/gim,\n  fun: [Function],\n  __content: '\\ncontent\\nmore' }\n```\n\nFront-matter is optional.\n\n```js\nyamlFront.loadFront('Hello World');\n// => { __content: \"Hello World!\" }\n```\n\nContent is optional\n\n```js\nyamlFront.loadFront('');\n// => { __content: '' }\n```\n\n### safeLoadFront(string, [options])\n\nSame api as loadFront except it does not support regexps, functions or undefined. See [js-yaml](https://github.com/nodeca/js-yaml) for more information.\n\n### Options\n\nThe options object supports the same options available to [js-yaml](https://github.com/nodeca/js-yaml) and adds support for an additional key.\n\n- `options.contentKeyName`: Specify the object key where to store content not parsed by yaml-front-matter. defaults to `__content`.\n\n```js\nyamlFront.loadFront('Hello World', {\n    contentKeyName: 'fileContents' \n});\n// => { fileContents: \"Hello World\" }\n```\n\n","_attachments":{},"homepage":"https://github.com/dworthen/js-yaml-front-matter#readme","bugs":{"url":"https://github.com/dworthen/js-yaml-front-matter/issues"},"license":"MIT"}