@types/mem-fs
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

Installation

npm install --save @types/mem-fs

Summary

This package contains type definitions for mem-fs (https://github.com/sboudrias/mem-fs).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mem-fs.

index.d.ts

/// <reference types="node" />

import { EventEmitter } from "events";
import { Transform } from "stream";
import * as File from "vinyl";

export interface Store extends EventEmitter {
    get: (filepath: string) => File;
    add: (file: File) => this;
    each: (callback: (file: File, index: number) => void) => this;
    stream: () => Transform;
}

export function create(): Store;

export namespace memFs {
}

Additional Details

Credits

These definitions were written by My Food Bag.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/mem-fs

Weekly Downloads

111,961

Version

1.1.5

License

MIT

Unpacked Size

3.5 kB

Total Files

5

Last publish

Collaborators

  • types