nss-console
v1.1.6
Published
Your chrome console is now super cool
Downloads
4
Readme
NSS-Console
your chrome console is now super cool
With NSS-Console you can output image directy on your chrome console
you can also output nice looking message
it's a little dumb and this is why it's so cool
Setup
NSS-Console can be installed with npm or simply using a content delivery network (CDN) URL to embed NSS-Console directly on your HTML page.
NPM Install
npm install nss-console
The correct way to import NSS-Console is:
import NSSConsole from 'nss-console'
NSSConsole.message('YO')
CDN Install (via cdnjs) ( not yet available, we need a lot of stars to do this guys )
<script src="https://cdnjs.cloudflare.com/ajax/libs/nss-console/1.0.1/nss-console.min.js"></script>
Current features
- output nice message with auto color swapping
- output nice message with the color you want to use
- output image and adjust size
Basic Usage Example
// output a message
NSSConsole.message('Hello')
// output an image
NSSConsole.image('https://scontent-cdg2-1.xx.fbcdn.net/v/t1.0-1/p200x200/35966_149142151763715_7577518_n.jpg?_nc_cat=0&oh=73843ee73938ed97dc52fc91ae4fdcd8&oe=5C3B257A')
// output an image and put a messages just below
NSSConsole.image('https://scontent-cdg2-1.xx.fbcdn.net/v/t1.0-1/p200x200/35966_149142151763715_7577518_n.jpg?_nc_cat=0&oh=73843ee73938ed97dc52fc91ae4fdcd8&oe=5C3B257A', 0.5).then(() => {
NSSConsole.message('Développé par l\'équipe Not-So-Stupid !')
NSSConsole.message('http://not-so-stupid.com')
NSSConsole.message('[email protected]')
})
}
BUILD API
npm ci
npm run build
License
This content is released under the (http://opensource.org/licenses/MIT) MIT License.