1.1.6 • Published 6 years ago

nss-console v1.1.6

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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.

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago