Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Aral Balkan
@aral@mastodon.ar.al  ·  activity timestamp 2 days ago

🥳 JavaScript Database (JSDB) version 6.1.4 released:

• Adds TypeScript type definitions

Been meaning to do this for a while and finally got round to it :)

https://codeberg.org/small-tech/jsdb#javascript-database-jsdb

#JavaScript #database #JavaScriptDatabase #JSDB #native #data #web #dev #NodeJS #SmallWeb

  • Copy link
  • Flag this post
  • Block
Aral Balkan
@aral@mastodon.ar.al  ·  activity timestamp 6 days ago

Ah, the joys of having a built-in native JavaScript database¹ that can persist and load typed JavaScript objects² and an interactive JavaScript shell (REPL)³ in Kitten⁴ :)

:kitten:💕

¹ https://kitten.small-web.org/reference/#database
² https://kitten.small-web.org/tutorials/database-app-modules/
³ https://kitten.small-web.org/reference/#kitten-s-interactive-shell-repl
⁴ https://kitten.small-web.org

#Kitten #SmallWeb #web #development #JavaScript #NodeJS #JSDB

Screenshot of the Kitten shell open in terminal for the currently-running site:

> kitten.db.accounts.findAccountWithHandle('@aral@mastodon.ar.al')

Proxy [
Account {


id: 'ce4c1f2c-2044-47a0-b97e-1bc1a43bfc07',

url: 'https://mastodon.ar.al/@aral',

isVerified: true,

data: Proxy [ [Object], [Object] ],

isScheduled: false,

joinPageIp: undefined,

privatePageIps: Proxy [ [Array], [Object] ],

isTeam: false,

callDays: Proxy [ [Array], [Object] ]
}
get: [Function: bound getHandler], set: [Function: bound setHandler], defineProperty: [Function: bound definePropertyHandler], deleteProperty: [Function: bound deletePropertyHandler]
}
]

> kitten.db.calendar.scheduleInterview(kitten.db.accounts.findAccountWithHandle('@aral@mastodon.ar.al').id)
Screenshot of the Kitten shell open in terminal for the currently-running site: > kitten.db.accounts.findAccountWithHandle('@aral@mastodon.ar.al') Proxy [ Account { id: 'ce4c1f2c-2044-47a0-b97e-1bc1a43bfc07', url: 'https://mastodon.ar.al/@aral', isVerified: true, data: Proxy [ [Object], [Object] ], isScheduled: false, joinPageIp: undefined, privatePageIps: Proxy [ [Array], [Object] ], isTeam: false, callDays: Proxy [ [Array], [Object] ] } get: [Function: bound getHandler], set: [Function: bound setHandler], defineProperty: [Function: bound definePropertyHandler], deleteProperty: [Function: bound deletePropertyHandler] } ] > kitten.db.calendar.scheduleInterview(kitten.db.accounts.findAccountWithHandle('@aral@mastodon.ar.al').id)
Screenshot of the Kitten shell open in terminal for the currently-running site: > kitten.db.accounts.findAccountWithHandle('@aral@mastodon.ar.al') Proxy [ Account { id: 'ce4c1f2c-2044-47a0-b97e-1bc1a43bfc07', url: 'https://mastodon.ar.al/@aral', isVerified: true, data: Proxy [ [Object], [Object] ], isScheduled: false, joinPageIp: undefined, privatePageIps: Proxy [ [Array], [Object] ], isTeam: false, callDays: Proxy [ [Array], [Object] ] } get: [Function: bound getHandler], set: [Function: bound setHandler], defineProperty: [Function: bound definePropertyHandler], deleteProperty: [Function: bound deletePropertyHandler] } ] > kitten.db.calendar.scheduleInterview(kitten.db.accounts.findAccountWithHandle('@aral@mastodon.ar.al').id)
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login