@chainsaws/dynamodb
v0.0.3
Published
Type-safe DynamoDB wrapper for Node.js with automatic type inference.
Maintainers
Readme
@chainsaws/dynamodb
Type-safe DynamoDB wrapper for Node.js with automatic type inference.
Installation
npm install @chainsaws/dynamodbUsage
import { DynamoDBAPI } from "@chainsaws/dynamodb";
// Create API instance
const db = new DynamoDBAPI("my-table", {
region: "us-east-1",
});
// Initialize table
await db.init_db_table();
// Use the API
const item = await db.put_item("user", {
user_id: "123",
name: "John Doe",
email: "[email protected]",
});Features
- 🔒 Type Safety: Full TypeScript support with automatic type inference
- 🚀 High Performance: Optimized for DynamoDB operations
- 📦 Zero Dependencies: Minimal external dependencies
- 🛠️ Developer Experience: Intuitive API with excellent autocomplete
- 🔄 Batch Operations: Efficient batch processing
- 📊 Query Support: Advanced querying with type-safe parameters
Development
Building
npm run buildPublishing
# npm에 로그인
npm login
# 패키지 배포
npm run publish:npmLicense
MIT
