JSPM

sharkdown

0.1.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 80362
    • Score
      100M100P100Q157219F
    • License BSD-2-Clause

    markdown in your shell

    Package Exports

    • sharkdown

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sharkdown) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Build Status

    sharkdown

    usage

    npm install --save sharkdown

    Or as a handy utility:

    npm install sharkdown -g

    And then you can do:

    sharkdown file.md
    sharkdown < "markdown data"

    api

    sharkdown(str)

    Takes a string, returns a string with markdown encoded as control codes for a shell.

    sharkdown()

    Returns a through-stream for pipes.

    example

    var sharkdown = require('sharkdown');
    
    process.stdin
        .pipe(sharkdown())
        .pipe(process.stdout);