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

0.1.1 • Public • Published

slice2md npm version Build Status

Compiles Slice files to Markdown.

Installation

$ yarn add slice2md

Usage

Usage: slice2md [options] <file ...>

Options:

  -V, --version         output the version number
  -e, --exclude <file>  File paths or globs to exclude.
  -o, --out-dir <dir>   Directory where to put generated files.
  -h, --help            output usage information

API

import {slice2md} from 'slice2md';
 
slice2md(options); // Promise<void>;

Options interface:

{
  /**
   * Array of slice file paths or globs.
   */
  filesstring[];
  /**
   * Array of file paths or globs to exclude.
   */
  exclude?: string[];
  /**
   * Directory where to put generated files.
   */
  outDirstring;
}

Readme

Keywords

none

Package Sidebar

Install

npm i slice2md

Weekly Downloads

0

Version

0.1.1

License

GPL-2.0

Unpacked Size

101 kB

Total Files

87

Last publish

Collaborators

  • aikoven