gitorm is a simple ORM (v0.0.25) that uses GitHub repositories as a database and data bucket for Node.js. It provides CRUD operations on files stored in a GitHub repo, treating the repository as a backend store. The package is minimal, with no external dependencies, and works with GitHub's REST API. It is suitable for small projects or prototyping where a full database is unnecessary. Last updated in 2021, it has low activity and is considered stable but not actively maintained.
npm install gitormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to a GitHub repository using a token, then creates and reads a JSON file.
Implement retry logic or respect rate limits in your application.
Generate a token with required scopes at https://github.com/settings/tokens.
Use a queuing system or ensure single-writer access.
Encrypt data before storing if you need confidentiality.
Check your internet connection and ensure GitHub API is accessible.
Generate a new token with 'repo' and 'user' scopes and set it in config.
Use 'import gitorm from 'gitorm'' or 'const gitorm = require('gitorm')'.Double-check repository and owner fields in config; ensure token has access.
Verify the path exists or create it first using db.create() with path including necessary directories.
No dependency data recorded yet.