New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

randomhexcode

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

randomhexcode - npm Package Compare versions

Comparing version
0.0.0
to
1.0.0
+2
-2
package.json
{
"name": "randomhexcode",
"version": "0.0.0",
"description": "A tiny package that will return a random hex color.",
"version": "1.0.0",
"description": "A tiny package that will return a random hex code.",
"main": "randomHex.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -5,5 +5,7 @@ # Random-Hex

## Usage
var randomHex = require(./randomHex.js)
npm i randomhexcode
var randomhexcode = require(randomhexcode.js)
var hex = randomHex()
var hex = randomhexcode()
// returns for example: #0eca44

@@ -10,0 +12,0 @@