2.0.1 • Published 7 years ago

akv-status v2.0.1

Weekly downloads
71
License
MIT
Repository
github
Last release
7 years ago

akv-status

Build Status Code Climate Code Coverage npm Version JS Standard

akv store for file status

Installation

$ npm install akv-status --save

Usage

'use strict'

const akvStatus = require('akv-status')
const co = require('co')

co(function * () {
  let store = akvStatus('tmp/files.status.json')
  let patterns = [ 'src/**/*.js' ]
  yield store.saveStatus(patterns)

  process.on('message', () => co(function * () {
    let changed = yield store.filterStatusUnknown(patterns)
    if (changed.length > 0) {
      /* ... */
    }
  }))
}).catch((err) => console.error(err))

License

This software is released under the MIT License.

Links

2.0.1

7 years ago

2.0.0

9 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago