Socket
Socket
Sign inDemoInstall

@neo4j-devtools/word-color

Package Overview
Dependencies
2
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @neo4j-devtools/word-color

Map any given word/string deterministically to a hex color. [Demo](https://unpkg.com/@neo4j-devtools/word-color@latest/dist/demo/index.html).


Version published
Maintainers
3
Install size
433 kB
Created

Readme

Source

Word Color

Map any given word/string deterministically to a hex color. Demo.

Quickstart

npm install @neo4j-devtools/word-color
import { calcWordColor } from '@neo4j-devtools/color-words';
calcWordColor('Verdanturf'); // #d6e019

Development & Testing

Hot reloading dev server: pnpm run dev

Test: pnpm run test

Publishing

Bump the version number, and simply run pnpm publish --access public. Make sure you have access to the neo4j-devtools GitHub org.

FAQs

Last updated on 25 Nov 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc