typed-typings / npm-vinyl

Typings for vinyl
MIT License
0 stars 1 forks source link

Typed vinyl

Greenkeeper badge Build Status

The type definition for vinyl

Installation

typings install --save vinyl

Usage

import File from 'vinyl';

const tsFile = new File({
  cwd: '/',
  base: '/test/',
  path: '/test/file.ts',
  contents: new Buffer('test = 123')
});

LICENSE

MIT

Contributing

# Fork this repo, then
npm install

npm run watch

# add tests, make changes, pass tests ... then [ctrl+c]
npm run publish

Updating

Update typings.json/version to match the source version you are typing against. e.g. if you are creating typings for chai@3.5.0, then:

// typings.json
{
  "version": "3.5.0"
  // ...
}

Based on typings by vvakame and jedmao

Generated by generator-typings 1.0.13