fileable-iterator
![fileable logo](./static/docs/logo.png)
Last updated 6 months ago by johnhenry .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fileable-iterator 
SYNC missed versions from official npm registry.

fileable logo

Fileable Iterator

For use internally with fileable and components.

Installation

npm install fileable-iterator

API

Table of contents

function iterator

Iterator

Parameter Type Description
options object
options.folder_context string Folder into which files should be rendered.
options.template_context string Location of template. Used to determine relative relative paths of certain attributes.

Examples

import {iterator} from 'fileable';
const main = async ()=>{
 for await(const output of iterator(template, {})){
   console.log(output);
 }
}

Todo

Current Tags

  • 0.0.3                                ...           latest (6 months ago)

3 Versions

  • 0.0.3                                ...           6 months ago
  • 0.0.2                                ...           6 months ago
  • 0.0.1                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (17)

Copyright 2014 - 2016 © taobao.org |