ferinhadb
v1.0.1
Published
Bando de Dados do Ferinha
Downloads
8
Maintainers
Readme
📋 Projeto
Aplicação feita para somente os devs verdadeiros do ferinha.
Como usar o ferinhadb
Para clonar e rodar essa aplicação do ferinha você precisará do Node.js Na sua linha de comando:
$ npm i ferinhadb
Crie um arquivo principal para iniciar o projeto e configure sua execução para o módulo:
const { ferinha } = require('ferinhadb')
const db = new ferinha('./database.json')
⏳ Métodos
db.set('ferinha', 'valor') // seta o ferinha
db.get('ferinha') // retorna o valor do ferinha
db.add('ferinha', NaN)
db.subtract('ferinha', NaN)
// Não forneça números em formato de cadeia de caracteres
db.delete('ferinha') // deleta o ferinha
db.deleteAll() // deleta o ferinha do arquivo
db.all() // retorna o ferinha do arquivo
Feito por: ঔৣ☬✞𝓓𝖔𝖓✞☬ঔৣ#0552 GitHub: whoisdon
copião: cardoso#2438 GitHub: cardosocalvo