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

wio.db

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wio.db

Gözle okunabilir database modülü.

  • 2.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.3K
increased by79.23%
Maintainers
1
Weekly downloads
 
Created
Source

Image Image

Image #wio.db ##Yüklemek İçin

npm install --save wio.db

##Özellikleri quick.db'nin yanı sıra bu json dosyasına verileri kaydeder ve veriler gözle okunabilecek şekilde yazdırılır. zamanla özellikler eklenecektir. (。•̀ᴗ-)✧

##Nasıl Kullanılır? || how to use?

const Discord = require ('discord.js')
const client = new Discord.Client()
const db = require('wio.db')

client.on('ready',() => {
    console.log('Bot ready')
})
client.on('message',async message => {
    await db.add(message.author.username,1) // ---> add user data this value
    await db.set(message.author.username,'blablabla') // ---> create user data
    await db.delete('wio') // ---> delete user data
    await db.push(message.author.username,'blablabla') // ---> push to array
    await db.has('wio') // ---> true or false
    var data = await db.fetch('wio') // ---> fetch user data
    var data2 = await db.fetchAll() // ---> fetch all data
    let filter = await db.startsWith('wio') //---> return shows data starting with w in data
    const arrayHas = await db.arrayHas(message.author.username,'blablabla') // ---> return true or false

})



client.login('')

Bana ulaşabileceğiniz yerler. || Bugs report

Discord İnstagram

Keywords

FAQs

Package last updated on 01 Aug 2020

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

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