
Security News
pnpm 10.12 Introduces Global Virtual Store and Expanded Version Catalogs
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
dynamodb-migrations-tool
Advanced tools
The *dynamodb-migrations-tool* is a DynamoDB storage based migrator implemented on top of the relyable and well tested framework agnostic migration tool **[umzug](https://github.com/sequelize/umzug)**.
The dynamodb-migrations-tool is a DynamoDB storage based migrator implemented on top of the relyable and well tested framework agnostic migration tool umzug.
npm install dynamodb-migrations-tool --save
The following example demonstrate a minimal usage of the migrator:
const {defaultMigrator} = require('dynamodb-migrations-tool');
(async () => {
// checks migrations and run them if they are not already applied
await defaultMigrator.up();
console.log('All migrations performed successfully');
})();
Using example bellow you can create a migrator instance with a couple migratorOptions
:
const {migratorFactory} = require('dynamodb-migrations-tool');
const migrator = migratorFactory({
migrationTable: 'migrations' // default
});
(async () => {
await migrator.up();
})();
The possible migratorOptions
are:
{
// The configured DynamoDB DocumentClient instance from aws-sdk.
// Optional. If omited it will be created with default aws-sdk config.
dynamodb: DynamoDB.DocumentClient,
// Custom DynamoDB migration table name, can be populated with stage and stuff.
// Optional. Default value is `migrations`.
migrationTable: String,
}
FAQs
The *dynamodb-migrations-tool* is a DynamoDB storage based migrator implemented on top of the relyable and well tested framework agnostic migration tool **[umzug](https://github.com/sequelize/umzug)**.
The npm package dynamodb-migrations-tool receives a total of 1 weekly downloads. As such, dynamodb-migrations-tool popularity was classified as not popular.
We found that dynamodb-migrations-tool 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
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.