console-log-hiring
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

console-log-hiring

Build Status Coverage Status npm npm semantic-release

Console log hiring message 🚀

Package is distributed as JavaScript ES5 build with source maps and TypeScript support.

Usage

var hiring = require("console-log-hiring");
 
hiring.log();
// We're hiring! 🚀
 
hiring.resetState();
hiring.log("We're hiring! https://example.com/career/");
// We're hiring! https://example.com/career/ 🚀
 
hiring.resetState();
hiring.log("We're looking for employees", "😮");
// We're looking for employees 😮

log function logs into console (with console.info function) only once per module load. It's convenient in Single Page Applications. If you want to reset its state, just use resetState function.

Full emoji list.

TypeScript

Package contains TypeScript typings. You don't need install anything more.

import * as hiring from "console-log-hiring";
 
hiring.log();
// We're hiring! 🚀

Install

npm i console-log-hiring

Testing

npm test

Why this package even created?

I'd like to learn write tests, configure continuous integration and deployment to npm registry and just write module in TypeScript. Feel free to copy any configurations from this repository.

Readme

Keywords

Package Sidebar

Install

npm i console-log-hiring

Weekly Downloads

3

Version

1.0.8

License

MIT

Unpacked Size

6.58 kB

Total Files

7

Last publish

Collaborators

  • sigo