md-replacer
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i md-replacer

Weekly Downloads

3

Version

0.0.4

License

MIT

Unpacked Size

23.9 kB

Total Files

32

Last publish

Collaborators

  • yeonjuan-joah