Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

concolor

Package Overview
Dependencies
Maintainers
5
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

concolor - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

types/concolor.d.ts

7

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

## [1.0.1][] - 2021-04-13
- Add .d.ts typings
## [1.0.0][] - 2020-12-16

@@ -20,4 +24,5 @@

[unreleased]: https://github.com/metarhia/concolor/compare/v1.0.0...HEAD
[unreleased]: https://github.com/metarhia/concolor/compare/v1.0.1...HEAD
[1.0.1]: https://github.com/metarhia/concolor/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/metarhia/concolor/compare/v0.1.16...v1.0.0
[0.1.16]: https://github.com/metarhia/concolor/releases/tag/v0.1.16

24

package.json
{
"name": "concolor",
"version": "1.0.0",
"version": "1.0.1",
"author": "Vladyslav Dukhin <vladyslav.dukhin@gmail.com>",

@@ -35,7 +35,11 @@ "description": "Console colors for strings templates in node.js",

"main": "concolor.js",
"files": [],
"types": "types/concolor.d.ts",
"files": [
"types/"
],
"scripts": {
"test": "npm run lint && node ./test.js",
"lint": "eslint . && prettier -c \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\" \"**/*.yml\"",
"fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\" \"**/*.yml\""
"test": "npm run lint && npm run types && node ./test.js",
"types": "tsc -p types/tsconfig.json",
"lint": "eslint . && prettier -c \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\"",
"fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\""
},

@@ -47,9 +51,11 @@ "engines": {

"devDependencies": {
"eslint": "^7.15.0",
"@types/node": "^14.14.37",
"eslint": "^7.24.0",
"eslint-config-metarhia": "^7.0.1",
"eslint-config-prettier": "^7.0.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.3.0",
"prettier": "^2.2.1"
"eslint-plugin-prettier": "^3.3.1",
"prettier": "^2.2.1",
"typescript": "^4.2.3"
}
}
# Concolor
[![CI Status](https://github.com/metarhia/concolor/workflows/Testing%20CI/badge.svg)](https://github.com/metarhia/concolor/actions?query=workflow%3A%22Testing+CI%22+branch%3Amaster)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6f4f133090d64f178d099f86521ec117)](https://www.codacy.com/app/metarhia/concolor)
[![NPM Version](https://badge.fury.io/js/concolor.svg)](https://badge.fury.io/js/concolor)
[![NPM Downloads/Month](https://img.shields.io/npm/dm/concolor.svg)](https://www.npmjs.com/package/concolor)
[![NPM Downloads](https://img.shields.io/npm/dt/concolor.svg)](https://www.npmjs.com/package/concolor)
[![ci status](https://github.com/metarhia/concolor/workflows/Testing%20CI/badge.svg)](https://github.com/metarhia/concolor/actions?query=workflow%3A%22Testing+CI%22+branch%3Amaster)
[![codacy](https://api.codacy.com/project/badge/Grade/6f4f133090d64f178d099f86521ec117)](https://www.codacy.com/app/metarhia/concolor)
[![snyk](https://snyk.io/test/github/metarhia/impress/badge.svg)](https://snyk.io/test/github/metarhia/impress)
[![npm version](https://badge.fury.io/js/concolor.svg)](https://badge.fury.io/js/concolor)
[![npm downloads/month](https://img.shields.io/npm/dm/concolor.svg)](https://www.npmjs.com/package/concolor)
[![npm downloads](https://img.shields.io/npm/dt/concolor.svg)](https://www.npmjs.com/package/concolor)

@@ -31,10 +32,10 @@ Concolor is a simple library for Node.js for coloring templated strings using

```javascript
console.log(concolor`Hello ${'World'}(blue) blue`);
console.log(concolor`Hello ${'World'}(/red) on red`);
console.log(concolor`Hello ${'World'}(white/yellow,b) bold white on yellow`);
console.log(concolor`Hello ${'World'}(b) bold`);
console.log(concolor`Hello ${'World'}(b,/blue) bold on blue`);
console.log(concolor`Hello ${'World'}(b,u,yellow) bold underline yellow`);
console.log(concolor`Hello ${'World'}(blue,u) blue underline`);
console.log(concolor`Hello ${'World'}(b,black/green) bold black on green`);
console.log(concolor`Ave ${'World'}(blue) blue`);
console.log(concolor`Ave ${'World'}(/red) on red`);
console.log(concolor`Ave ${'World'}(white/yellow,b) bold white on yellow`);
console.log(concolor`Ave ${'World'}(b) bold`);
console.log(concolor`Ave ${'World'}(b,/blue) bold on blue`);
console.log(concolor`Ave ${'World'}(b,u,yellow) bold underline yellow`);
console.log(concolor`Ave ${'World'}(blue,u) blue underline`);
console.log(concolor`Ave ${'World'}(b,black/green) bold black on green`);

@@ -41,0 +42,0 @@ console.log(concolor`

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc