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

ltm-utilities

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ltm-utilities - npm Package Compare versions

Comparing version 0.0.9 to 0.1.0

index.d.ts

25

index.ts

@@ -202,3 +202,28 @@ class Utils {

}
randomColor() {
const parts: string[] = [
"A",
"B",
"C",
"D",
"E",
"F",
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
];
let color: string = "#";
for (let i: number = 0; i <= 6; i++) {
color = parts[Math.floor(Math.random() * parts.length)];
}
return color;
}
}
export default Utils;

11

package.json
{
"name": "ltm-utilities",
"version": "0.0.9",
"version": "0.1.0",
"description": "This is a utility package for practical uses",
"main": "index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "node index.js"
"test": "node index.ts",
"build": "tsc"
},

@@ -24,3 +26,4 @@ "keywords": [

"dependencies": {
"node-fetch": "^3.3.1"
"node-fetch": "^3.3.1",
"typescript": "^5.0.4"
},

@@ -27,0 +30,0 @@ "repository": {

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