
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
sequelize-associate
Advanced tools
A helper to associate all sequelize models using the "associate" function.
sequelize-associate is a javascript library that import models from a directory and associate all together.
These instructions will help you to get and use sequelize-associate on your app.
npm install --save sequelize-associate
You can use in a index file on your models directory for example:
import sequelizeAssociate from 'sequelize-associate';
sequelizeAssociate(__dirname);
You can also pass some options:
sequelizeAssociate(__dirname, {
pattern: /\.model\.js$/, //Match all files that ends with model.js.
recursive: true //Will search in all subdirectories.
});
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
FAQs
A helper to associate all sequelize models using the "associate" function.
The npm package sequelize-associate receives a total of 2 weekly downloads. As such, sequelize-associate popularity was classified as not popular.
We found that sequelize-associate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.