a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

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

fix(time-ms): actually make the native module working

Mary 4ac8f907 a2b0ca2d

+7
+5
.changeset/swift-shirts-tickle.md
··· 1 + --- 2 + "@atcute/time-ms": patch 3 + --- 4 + 5 + actually make the native module working
+2
packages/misc/time-ms/lib/index.node.ts
··· 1 + import { createRequire } from 'node:module'; 1 2 import { join } from 'node:path'; 2 3 3 4 type TimeBinding = { ··· 18 19 }; 19 20 20 21 try { 22 + const require = createRequire(import.meta.url); 21 23 const binding: TimeBinding = require('node-gyp-build')(join(import.meta.dirname, '..')); 22 24 23 25 now = (): number => {