0.0.0 • Published 5 years ago

ra.array v0.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

đŸ”®RARRAY

Random JSON array Selector

Example

Example 1

var rarray = require("rarray")
let jsons = [
"First",
"Second"
]

let result = rarray.random(jsons)
console.log(result)

Example 2

var fs = require("fs")
var rarray = require("rarray")

fs.readFile("exam.json", "utf8", function (err, contents) => {
 if (err) {
  throw (err)
  }
 let result = rarray.random(contents)
 console.log(result)
 });

Community

Any question or Doubt can join our Doscord Server

0.0.0

5 years ago