nss-console

1.1.6 • Public • Published

npm version

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

NSS-Console demo

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('contact@not-so-stupid.com')
  })
}

NSS-Console demo

BUILD API

npm ci
npm run build

License

This content is released under the (http://opensource.org/licenses/MIT) MIT License.

Readme

Keywords

Package Sidebar

Install

npm i nss-console

Weekly Downloads

1

Version

1.1.6

License

MIT

Unpacked Size

12.4 kB

Total Files

3

Last publish

Collaborators

  • seraf_nss