Home Reference Source Test Repository
import Kotori from 'kotori/src/index.js'
public class | source

Kotori

Method Summary

Public Methods
public

build(config: Object): Stream

Operate on written data, then read the result of each file
public

dest(folder: String): Stream

vinyl-fs.dest() wrapper
public

src(globs: Globs): Stream

vinyl-fs.src() wrapper

Public Methods

public build(config: Object): Stream source

Operate on written data, then read the result of each file

Params:

NameTypeAttributeDescription
config Object

Kotori config object (see: ./default-config.js)

Return:

Stream

Transform stream

Test:

public dest(folder: String): Stream source

vinyl-fs.dest() wrapper

Params:

NameTypeAttributeDescription
folder String

takes a folder path

Return:

Stream

Readable/Writable stream

public src(globs: Globs): Stream source

vinyl-fs.src() wrapper

Params:

NameTypeAttributeDescription
globs Globs

takes a glob string or an array of glob strings

Return:

Stream

Readable stream