0.2.0 • Published 4 years ago

newcrayon v0.2.0

Weekly downloads
8
License
ISC
Repository
-
Last release
4 years ago

newCrayon

  1. introduction:

    The newCrayon is a colorfull log library, which could be used both in nodejs and browser environment.

    This library will provide good-looking informations for developers.

  2. usage:

    step 1: include the library into your project with npm:

    npm install --save newcrayon

    step 2: use debug, info, log, warn or error method of crayon when necessary:

    import newCrayon from 'newcrayon'
newCrayon.debug('This is a debug')

newCrayon.info('This is a info')

newCrayon.log('This is a log')

newCrayon.warn('This is a warn')

newCrayon.error('This is a error')
```

when you set

```javascript
newCrayon.closeDebug = true
```

there will be no output with the method of newCrayon.debug()
0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.5

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago