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

megadb

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

megadb - npm Package Compare versions

Comparing version 1.0.0 to 1.3.0

2

package.json
{
"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 => {

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