@mem-labs/mem-node
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published


Mem logo

Mem Node.js Client

The Mem Client provides convenient access to the Mem API from applications written in server-side JavaScript.

mem-node is released under the ISC license. Main branch merge - github action status.


Installation

Install the package with:

npm install @mem-labs/mem-node --save
# or
yarn add @mem-labs/mem-node

Usage

These examples show the most common features of the MemClient. You'll find more information on the Mem API documentation website.


Initialize the client

import { MemClient } from "@mem-labs/mem-node";

const memClient = new MemClient({
  apiAccessToken: "<Replace this with your access token>"
});

Create a mem

await memClient.createMem({
  content: "Hello world."
});

Contributing

Read our CONTRIBUTING.md to learn about our development process, and how to build and test your changes to the Mem Node.js Client.


License

The Mem Node.js Client is ISC licensed.

/@mem-labs/mem-node/

    Package Sidebar

    Install

    npm i @mem-labs/mem-node

    Weekly Downloads

    17

    Version

    0.1.1

    License

    ISC

    Unpacked Size

    286 kB

    Total Files

    115

    Last publish

    Collaborators

    • mem-engineering