cow-foo

1.0.0 • Public • Published

cow-foo

A toy cow to help demo code.

Example

const Cow = require('cow-foo/cow');
const feedCow = require('cow-foo/feed-cow');

const cow = new Cow();
console.log(cow.name)
> 'Bessie'

feedCow(cow, () => console.log('Done!'));
> Feeding Bessie...
> Done!

Tests

npm test

/cow-foo/

    Package Sidebar

    Install

    npm i cow-foo

    Weekly Downloads

    3

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • beck