Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@npmcli/disparity-colors/README.md')
-rw-r--r--node_modules/@npmcli/disparity-colors/README.md49
1 files changed, 0 insertions, 49 deletions
diff --git a/node_modules/@npmcli/disparity-colors/README.md b/node_modules/@npmcli/disparity-colors/README.md
deleted file mode 100644
index a89be36d8..000000000
--- a/node_modules/@npmcli/disparity-colors/README.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# @npmcli/disparity-colors
-
-[![NPM version](https://img.shields.io/npm/v/@npmcli/disparity-colors)](https://www.npmjs.com/package/@npmcli/disparity-colors)
-[![Build Status](https://img.shields.io/github/workflow/status/npm/disparity-colors/node-ci)](https://github.com/npm/disparity-colors)
-[![License](https://img.shields.io/github/license/npm/disparity-colors)](https://github.com/npm/disparity-colors/blob/master/LICENSE)
-
-Spiritual sucessor to [disparity](https://www.npmjs.com/package/disparity). Colorizes [Diff Unified format](https://en.wikipedia.org/wiki/Diff#Unified_format) output using [ansi-styles](https://www.npmjs.com/package/ansi-styles).
-
-## Install
-
-`npm install @npmcli/disparity-colors`
-
-## Usage:
-
-```js
-const colorize = require('@npmcli/disparity-colors')
-mapWorkspaces(`--- a/src/index.js
-+++ b/src/index.js
-@@ -1,4 +1,5 @@
- "use strict";
-+"use foo";
-
- const os = require("os");
-`)
-// --- a/src/index.js
-// +++ b/src/index.js
-// @@ -1,4 +1,5 @@
-// "use strict";
-// +"use foo";
-//
-// const os = require("os");
-```
-
-## API:
-
-### `colorize(str, opts = {}) -> String`
-
-- `str`: A [Diff Unified format](https://en.wikipedia.org/wiki/Diff#Unified_format) string
-- `opts`:
- - `headerLength`: A **Number** defining how many lines should be colorized as header
-
-#### Returns
-
-A **String** including the appropriate [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles)
-
-## LICENSE
-
-[ISC](./LICENSE)
-