An ORM for Node.js and Snowflake DB that provides model-based table creation and CRUD operations. Version 1.0.6 is the latest stable release. It supports Snowflake-specific data types (VARCHAR, NUMBER, TIMESTAMP, etc.) and offers features like auto-generated unique keys, default values, and basic query building. Unlike general-purpose ORMs, it is tailored for Snowflake's lack of primary key enforcement and column-based storage. The package includes types for dynamic table creation and data retrieval with where clauses and column selection.
npm install snowflake-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to Snowflake DB, defines a User model with unique ID, name, email, createdAt, creates the table, and queries rows where name is 'John'.
Avoid primaryKey and unique in schema; instead rely on require: true for unique auto-generated IDs.
Use require('snowflake-orm') instead of import.Ensure connect() is called once before any model operations.
Run: npm install snowflake-orm
Use: const Init = require('snowflake-orm').Init;Use const snowflakeOrm = require('snowflake-orm'); instead of import.No dependency data recorded yet.