Linux bear.hostingplus.cl 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
LiteSpeed
Server IP : 192.140.57.17 & Your IP : 216.73.216.106
Domains :
Cant Read [ /etc/named.conf ]
User : explo
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
bitninja-dispatcher /
node_modules /
colorspace /
Delete
Unzip
Name
Size
Permission
Date
Action
LICENSE.md
1.09
KB
-rw-r--r--
2026-02-18 13:02
README.md
973
B
-rw-r--r--
2026-02-18 13:02
index.js
740
B
-rw-r--r--
2026-02-18 13:02
package.json
1.55
KB
-rw-r--r--
2026-02-18 13:02
Save
Rename
# colorspace Colorspace is a simple module which generates HEX color codes for namespaces. The base color is decided by the first part of the namespace. All other parts of the namespace alters the color tone. This way you can visually see which namespaces belong together and which does not. ## Installation The module is released in the public npm registry and can be installed by running: ``` npm install --save colorspace ``` ## Usage We assume that you've already required the module using the following code: ```js 'use strict'; var colorspace = require('colorspace'); ``` The returned function accepts 2 arguments: 1. `namespace` **string**, The namespace that needs to have a HEX color generated. 2. `delimiter`, **string**, **optional**, Delimiter to find the different sections of the namespace. Defaults to `:` #### Example ```js console.log(colorspace('color')) // #6b4b3a console.log(colorspace('color:space')) // #796B67 ``` ## License MIT