
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
memcached-client
Advanced tools
A Memcached client library for node.js. This library written in typescript and define promisified methods.
$ npm install memcached-client
or
$ yarn add memcached-client
import Memcached, { Metadata } from 'memcached-client'
// Connect to your memcached server.
const client = new Memcached('127.0.0.1', 11211)
const example = async (client: Memcached) => {
const connection = await client.connect()
const code = await connection.set('my-key', 'my-value', false, 0)
console.log(code) // => STORED
const data: { [key: string]: Metadata } = await connection.get('my-key')
if (data['my-key']) {
console.log(data['my-key'].value) // => my-value
}
await connection.close()
}
And I prepared some examples.
This library does not yet cover all memcached methods. But I will implement all methods.
memcached-client version | v0.1.x |
---|---|
get | ✔ |
set | ✔ |
delete | ✔ |
gets | not yet |
cas | not yet |
replace | not yet |
append | not yet |
prepend | not yet |
incr/decr | not yet |
The software is available as open source under the terms of the MIT License.
FAQs
Memcached client for nodejs using typescript
The npm package memcached-client receives a total of 55 weekly downloads. As such, memcached-client popularity was classified as not popular.
We found that memcached-client 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
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.