Browse Source

the final version... 2

master
AJ ONeal 4 years ago
parent
commit
16df5f584f
  1. 1
      .gitignore
  2. 2
      package-lock.json
  3. 2
      package.json
  4. 1
      shmatter.js

1
.gitignore

@ -1 +1,2 @@
node_modules
*.tgz

2
package-lock.json

@ -1,6 +1,6 @@
{
"name": "shmatter",
"version": "1.0.0",
"version": "1.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

2
package.json

@ -1,6 +1,6 @@
{
"name": "shmatter",
"version": "1.0.0",
"version": "1.0.1",
"description": "Parse bash comments as if they were YAML frontmatter, almost.",
"main": "shmatter.js",
"scripts": {

1
shmatter.js

@ -64,6 +64,7 @@ function parseYamlish(txt) {
return cfg;
}
module.exports = parseYamlish;
module.exports.parse = parseYamlish;
if (require.main === module) {

Loading…
Cancel
Save