New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ram

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ram

Um simples sistema de cache em memória. Com .get .find .insert .remove

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

RAM

Um simples sistema de cache em memória.

Instalação

npm install ram

Uso

var ram = require('ram');
var Memory = ram.Memory;

// Inserindo na memória
var users = new Memory('users');

users.insert('dancarmo', {
  name: 'Dan',
  image: 'dan.png',
});

// Recebendo objeto diretamente
users.get('dancarmo');

// Procurando objeto na coleção
users.find({ name: 'Dan' });

// Removendo objeto
users.remove('dancarmo');

Keywords

ram

FAQs

Package last updated on 27 Oct 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts