edde
edde is a template language based on ed
Last updated 6 years ago by harsha-mudi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install edde 
SYNC missed versions from official npm registry.

:?

status

beta

works with ed and ex

edde

“Ed is for those who can remember what they are working on.”

edde is a template language based on ed.

It will replace ed commands in a text file with its output.

Install

npm install -g eddy

API

var edde = require("./index.js");

var options = {
    start: /^(>>)(ed|ex)/,
    end: /__END__/,
    DEBUG: true,
    dir: "."
}

edde.compile("*edde.md", options);

Limitations

  • Don't use eds !cat "foo" commands along with range commands. You will get the wrong output.

  • use q

Use cases

  • Literate programming
  • Readme generation (this)
  • Blog + Code

See

man ed

Current Tags

  • 0.2.3                                ...           latest (6 years ago)

10 Versions

  • 0.2.3                                ...           6 years ago
  • 0.2.2                                ...           6 years ago
  • 0.2.1                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.6                                ...           6 years ago
  • 0.1.5                                ...           6 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 1
This Week 4
This Month 4
Last Day 0
Last Week 21
Last Month 22
Dependencies (3)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |