WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

typed-typings/npm-chokidar

Repository files navigation

Typed chokidar

Greenkeeper badge Build Status

Typescript Typings for chokidar.

Installation

typings install --save chokidar

Usage

import * as chokidar from 'chokidar';

// One-liner for current directory, ignores .dotfiles
chokidar.watch('.', { ignored: /[\/\\]\./ }).on('all', (event: string, path: string) => {
  console.log(event, path);
});

Contributing

You can run them the tests with npm run build and npm run test.


Based on typings by Stefan Steinhart

About

Typings for chokidar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •