
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
typed-sheets
Advanced tools
Hikoutei — typed repository and safe write layer for Google Sheets-backed MVPs.
Typed repository and safe write layer for Google Sheets-backed MVPs.
Hikoutei helps TypeScript and Node.js applications use Google Sheets as a human-friendly part of an MVP or internal workflow. Your application works with typed entities and local SQLite; changes can be delivered to Google Sheets asynchronously through the included Apps Script gateway.
Hikoutei is intentionally focused. It is not a general-purpose database replacement, a Prisma/JPA clone, or a general Google Sheets API wrapper.
The project is called Hikoutei and its current npm package is typed-sheets.
npm install typed-sheets @mikro-orm/core @mikro-orm/sql
The MikroORM packages are optional peer dependencies of the root package, but are required when using Hikoutei's built-in SQLite adapter.
After defining an entity mapping, use a request-local manager to work with entities. A complete mapping and gateway setup are shown in the Quick start guide.
import { initializeMappedTypedSheetsOrm } from "typed-sheets/mikro-orm";
import { User } from "./entities/User.js";
import { userMapping } from "./mappings/userMapping.js";
const hikoutei = await initializeMappedTypedSheetsOrm({
dbName: "./hikoutei.sqlite",
entities: [User],
mappings: [userMapping],
writer: { writerId: "users-service" },
});
const em = hikoutei.em.fork();
const user = em.create(User, { id: "u1", name: "Ada" });
em.persist(user);
await em.flush();
user.name = "Ada Lovelace";
await em.flush();
flush() updates the local application state and schedules the configured
Sheet view. Remote delivery is asynchronous, so start the sync worker
and provision the gateway as described in the setup guide.
Hikoutei is a good fit for:
Use a conventional database and direct Google APIs when you need:
apps-script/gateway/Code.gs as a
Google Apps Script Web App.Keep the gateway secret on the server. Do not put it in browser code or commit it to Git.
See the open issues for current work.
Hikoutei is released under the MIT License.
FAQs
Hikoutei — typed repository and safe write layer for Google Sheets-backed MVPs.
We found that typed-sheets demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.