mark-to-json
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -1,3 +0,3 @@ | ||
<a name="0.0.1"></a> | ||
## 0.0.1 (2018-08-21) | ||
<a name="0.1.0"></a> | ||
# [0.1.0](https://github.com/lbw/mark-to-json/compare/0713828...v0.1.0) (2018-08-21) | ||
@@ -7,2 +7,3 @@ | ||
* adjust `md` to `token`, complete prototype ([47e6a5e](https://github.com/lbw/mark-to-json/commit/47e6a5e)) | ||
* core features ([0713828](https://github.com/lbw/mark-to-json/commit/0713828)) | ||
@@ -9,0 +10,0 @@ |
@@ -16,3 +16,2 @@ "use strict"; | ||
this.dest = utils_1.stringify(dest); | ||
logger_1.default.info('dest :', dest); | ||
this.content = this.__raw.content; | ||
@@ -19,0 +18,0 @@ this.schema = Object.assign(this.__raw.data, extraHeader, { |
@@ -27,3 +27,2 @@ import reader = require('gray-matter') | ||
this.dest = stringify(dest) | ||
logger.info('dest :', dest) | ||
this.content = this.__raw.content | ||
@@ -30,0 +29,0 @@ this.schema = Object.assign(this.__raw.data, extraHeader, { |
{ | ||
"name": "mark-to-json", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "parse markdown to json", | ||
@@ -38,2 +38,4 @@ "main": "dist/lib/index.js", | ||
"mark-to-json", | ||
"markdown", | ||
"json", | ||
"parser", | ||
@@ -40,0 +42,0 @@ "yaml", |
@@ -1,5 +0,15 @@ | ||
mark-to-json | ||
# mark-to-json [![NpmVersion](https://img.shields.io/npm/v/mark-to-json.svg?style=flat-square)](https://www.npmjs.com/package/mark-to-json) [![NodeVersion](https://img.shields.io/node/v/mark-to-json.svg?style=flat-square)](https://www.npmjs.com/package/mark-to-json) | ||
> Parse markdown to JSON file | ||
## Installing | ||
```bash | ||
# npm | ||
npm i mark-to-json --save | ||
# yarn | ||
yarn add mark-to-json | ||
``` | ||
## Usage | ||
@@ -18,2 +28,8 @@ | ||
}) | ||
// You can find your json file at the './writings/hello-world.json' based on the current nodejs working path | ||
``` | ||
The sample output file: [here] | ||
[here]:https://github.com/lbwa/mark-to-json/tree/master/samples |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7247
35
179