
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
apps-script-db
Advanced tools
> A module to prodive a simple key-value based database by [Google Apps Script](https://developers.google.com/apps-script/)
A module to prodive a simple key-value based database by Google Apps Script
npm i --save apps-script-db
const ADB = require('apps-script-db')
const fetch = require('node-fetch')
const db = new ADB(YOUR_DATABASE_URL, fetch)
(async ()=>{
await db.set('key', {a: 5})
await db.get('key') //{a: 5}
})()
<script src="https://unpkg.com/apps-script-db"></script>
<script>
const db = new ADB(YOUR_DATABASE_URL)
</script>
Url: https://maple3142.github.io/apps-script-db/
The web app is on branch webui
, based on Vue.
db.set(key: string,value: any)
Set the value of key
to value
db.get(key: string)
Get the value of key
if
key==='*'
, it will return an object of all values
db.del(key: string)
Delete the value of key
if
key==='*'
, it will delete every things
FAQs
> A module to prodive a simple key-value based database by [Google Apps Script](https://developers.google.com/apps-script/)
The npm package apps-script-db receives a total of 3 weekly downloads. As such, apps-script-db popularity was classified as not popular.
We found that apps-script-db demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.