![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
A fast & simple key | value storage for postgres.
Inspired by quick.db
All issues are welcomed!
import QuickPg from 'quick-postgres';
const db = new QuickPg({
table:"test",
poolOptions: {
host: 'localhost',
user: 'postgres',
password: '1234',
database: 'myDatabase'
}
})
console.log(db.set<number>("sword", 2))
console.log(db.get("sword"))
QuickPg This is the main class for the QuickPostgres library.
QuickPg This is the main class for the QuickPostgres library.
Param | Description |
---|---|
qpOps | Specifies the QuickPostgres Options. Check out https://node-postgres.com/api/pool for pool configurations. |
Checks if a key exists or not.(key) ⇒
Kind: global function
Returns: boolean
Param | Description |
---|---|
key | the key that you want to check if exists. |
Sets a value to a key in the table.
Returns void or boolean depending on the success.(key, value) ⇒
Kind: global function
Returns: void | boolean
Param | Description |
---|---|
key | The key you want to set the value in. |
value | The value of the key. |
Returns the value of the specified key.
The value maybe of any type depending upon the set type.(key) ⇒
Kind: global function
Returns: Promise
Param | Description |
---|---|
key | The key from where you want to get the value. |
Deletes a key and value from the table.(key) ⇒
Kind: global function
Returns: Promise
Param | Description |
---|---|
key | The key who's content is to be deleted. |
Returns all the contents in a table. Specifically key value pairs.() ⇒
Kind: global function
Returns: Promise
FAQs
📦 A key value postgres database
We found that quick-pg 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.