Socket
Book a DemoInstallSign in
Socket

@dalisoft/sequelize-wrap

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dalisoft/sequelize-wrap

An Wrapper for Sequelize Model

latest
Source
npmnpm
Version
0.0.10
Version published
Maintainers
1
Created
Source

sequelize-wrap

An Wrapper for Sequelize Model

Note: Requires Sequelize Model to be work

Features

  • Easy
  • Powerful
  • Flexible
  • Performant

Installation

We recommend install via npm because of it's cache and flat node modules tree

npm i @dalisoft/sequelize-wrap

then you able to import to Node.js easily

// Node.js
const SequelizeWrap = require('@dalisoft/sequelize-wrap');

// ES6
import SequelizeWrap from '@dalisoft/sequelize-wrap';

Methods

See sequelize-wrap.js for methods, a lot of functions, but i don't have time to write all of these there, sorry

Usage

const model = sequelize.model(...);

const wrappedModel = new SequelizeWrap(model);

// here you go

License

MIT

Keywords

sequelize

FAQs

Package last updated on 16 Jun 2024

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