Introducing CheckOps: A Production-Ready Form Builder SDK
I'm excited to announce the release of CheckOps v1.0.0, a Node.js SDK that makes it easy to build dynamic forms with PostgreSQL 18 and JSONB storage.
Why CheckOps?
Building form systems is repetitive work. You need:
- Dynamic question management
- Flexible data storage
- Validation & sanitization
- Analytics
- Security
CheckOps handles all of this out of the box.
Quick Example
import CheckOps from '@saiqa-tech/checkops';
const checkops = new CheckOps({
host: 'localhost',
database: 'myapp',
// ... config
});
await checkops.initialize();
// Create a form
const form = await checkops.createForm({
title: 'Customer Feedback',
questions: [
{
questionText: 'How would you rate us?',
questionType: 'rating',
options:,[1]
required: true
}
]
});
// Submit response
const submission = await checkops.createSubmission({
formId: form.id,
submissionData: {
'How would you rate us?': 5
}
});
// Get analytics
const stats = await checkops.getSubmissionStats(form.id);
Key Features
π― Dynamic Form Builder
15+ question types: text, email, select, rating, date, and more.
π Question Reusability
Centralized question bank - create once, use everywhere.
π JSONB Storage
Flexible PostgreSQL JSONB for responses with GIN indexes.
π Security First
- Parameterized queries (SQL injection prevention)
- Input sanitization (XSS prevention)
- Comprehensive validation
π Built-in Analytics
Get submission statistics, response distributions, and more.
π§ͺ Well Tested
80%+ test coverage with Jest.
Tech Stack
- Node.js 24+
- PostgreSQL 18 with JSONB
- ES Modules
- Apache 2.0 License
Installation
npm install @saiqa-tech/checkops pg
Documentation
Full docs available in the repo:
- API Reference
- Usage Guide
- Real-world Examples
- Database Schema
- Security Best Practices
Use Cases
Perfect for:
- Survey applications
- Inspection checklists
- Customer feedback systems
- Assessment tools
- Job applications
- Registration forms
Links
- π¦ npm: https://www.npmjs.com/package/@saiqa-tech/checkops
- π» GitHub: https://github.com/saiqa-tech/checkops
- π Docs: In the repo
Contributing
Contributions welcome! Apache 2.0 licensed.
What would you build with CheckOps? Let me know in the comments! π
Top comments (0)