Comparing version 1.0.0 to 1.3.0
{ | ||
"name": "megadb", | ||
"version": "1.0.0", | ||
"version": "1.3.0", | ||
"description": "base de datos usando JSON", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -664,3 +664,3 @@ ``` | ||
economia.ordenar("usuarios", false) | ||
//retorna promesa: [{clave: 'MegaStar', valor: 100}, {clave: 'ratsagem', monedas: 320}, {clave: 'MoDeR', valor: 40}] | ||
//retorna promesa: [{clave: 'ratsagem', monedas: 320}, {clave: 'MegaStar', valor: 100}, {clave: 'MoDeR', valor: 40}] | ||
@@ -891,3 +891,4 @@ | ||
{clave: ruru, valor: {ganadas: 0}}, | ||
{clave: pedro, valor: {ganadas: 0}} | ||
{clave: pedro, valor: {ganadas: 0}}, | ||
{clave: MoDeR, valor: {ganadas: 0}} | ||
] | ||
@@ -939,3 +940,3 @@ | ||
giveaway.random("users_ID", 4) | ||
giveaway.random("users_ID", 3) | ||
//retonra una promesa (las propiedades son aleatorias, esto es solo un ejemplo): | ||
@@ -1059,6 +1060,6 @@ /* | ||
const db = require("megadb"); | ||
let paiases = new db.crearDB("paises") | ||
idiomas.establecer("norte", ["argentina", "brasil", "colombia"]) //retorna promesa: {norte: ["argentina", "brasil", "colombia"]} | ||
let paises = new db.crearDB("paises") | ||
paises.establecer("norte", ["argentina", "brasil", "colombia"]) //retorna promesa: {norte: ["argentina", "brasil", "colombia"]} | ||
idiomas.extract("norte", "bolivia").then(nuevos => { | ||
paises.extract("norte", "bolivia").then(nuevos => { | ||
console.log(nuevos) | ||
@@ -1065,0 +1066,0 @@ }).catch(error => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66619
1191