the final version... 2

This commit is contained in:
AJ ONeal 2020-05-06 23:01:23 -06:00
parent 76cfb79542
commit 16df5f584f
4 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

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

2
package-lock.json generated
View File

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

View File

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

View File

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