New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rosepg/rose

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rosepg/rose

Type-safe query builder DSL, data mapper, and mini ORM for PostgreSQL

  • 0.0.26
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
186
decreased by-44.48%
Maintainers
1
Weekly downloads
 
Created
Source

rose

codecov

rose is a PostgreSQL query builder and row mapper for TypeScript.

To get started, please read the online documentation:

https://laurence-myers.github.io/rose/

Goals

  • Type safe interface between PostgreSQL and TypeScript (Node.js) applications.
  • Flexible query interface, that can return arbitrary objects, not restricted to a single object graph (i.e. one class).
  • Multiple layers of capabilities:
    • Generating TypeScript interfaces from your database schema.
    • Type-safe query builder.
    • ORM layer on top of the query builder. (Not yet implemented.)
  • Composable queries.
  • Reusable queries; support caching built queries and generated SQL, so application code just passes in parameters.
  • No chance for SQL injection, through the sole use of parameterised queries.

Out of scope

  • DDL statements.
    • You should construct your database outside of your consuming application, using SQL.
  • Support for other databases.
    • By focusing on PostgreSQL, we can provide more sophisticated capabilities, and we're not limited to only supporting functionality common to all databases.

FAQs

Package last updated on 05 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc