MIRROR: javascript for 馃悳's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at type-hints-typescript 10 lines 255 B view raw
1import { dlopen, suffix, FFIType } from 'ant:ffi'; 2 3const sqlite3 = dlopen(`libsqlite3.${suffix}`); 4 5sqlite3.define('sqlite3_libversion', { 6 args: [], 7 returns: FFIType.string 8}); 9 10console.log(`SQLite 3 version: ${sqlite3.call('sqlite3_libversion')}`);