md-replacer
v0.0.4
Published
<!-- start:name -->
Downloads
13
Readme
md-replacer
Installation
$ npm install -D md-replacer
Usage
- README.md
<!-- start: name -->
<!-- start: name -->
- example.js
const replacer = require("md-replacer");
const packageJSON = read("./package.json");
const README = read("./README.md");
const output = replacer()
.content(README)
.replace("name", () => `# ${name}`)
.build();
write("./README.md", output);
- README.md
<!-- start: name -->
# PROJECT
<!-- start: name -->
License
- MIT