Socket
Socket
Sign inDemoInstall

rplg

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.2.1

data.js

10

index.js

@@ -1,5 +0,5 @@

exports.generate = function() {
languages = ["Kotlin", "Java", "C++", "C#", "Python", "JavaScript", "C", "Groovy", "Perl", "Php", "Html", "Css", "F#", "Rust", "Ruby", "R"];
let language = languages[Math.floor(Math.random() * languages.length)];
return language;
}
const data = require('./data.js')
module.exports = function gen() {
return data[Math.floor(Math.random() * data.length)];
}
{
"name": "rplg",
"version": "0.1.1",
"description": "A Random Programming Language Generator",
"version": "0.2.1",
"description": "Generate a random programming languag",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git init"
},
"module": "index.mjs",
"keywords": [
"js",
"random-language",
"generate",
"random"
],
"author": "micziz",
"license": "Apache-2.0"
}
"license": "ISC",
"devDependencies": {
"typescript": "^5.0.3"
}
}
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