diff options
author | Vitaly Puzrin <vitaly@rcdesign.ru> | 2016-12-09 14:16:41 +0300 |
---|---|---|
committer | Vitaly Puzrin <vitaly@rcdesign.ru> | 2016-12-09 14:16:41 +0300 |
commit | fb9a7fd2401d294cb6f25a23544eb7efc0178e14 (patch) | |
tree | acb4401b79a3f5be6d5e4e2cc3c66c13403f06e0 | |
parent | c3350a17d0ef11b587c2e5cf25c3fc056027645f (diff) |
Added drafts to publish spec in npm, #394
-rw-r--r-- | index.js | 7 | ||||
-rw-r--r-- | package.json | 15 |
2 files changed, 22 insertions, 0 deletions
diff --git a/index.js b/index.js new file mode 100644 index 0000000..6068627 --- /dev/null +++ b/index.js @@ -0,0 +1,7 @@ +'use strict'; + +const fs = require('fs'); +const path = require('path'); + + +exports.text = fs.readFileSync(path.join(__dirname, 'spec.txt'), 'utf8'); diff --git a/package.json b/package.json new file mode 100644 index 0000000..6883746 --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "commonmark-spec", + "version": "-", + "description": "Commonmark spec.", + "keywords": [ + "commonmark", + "markdown" + ], + "repository": "jgm/CommonMark", + "license": "MIT", + "files": [ + "index.js", + "spec.txt" + ] +} |