# BaseStore

> **Class** in `@langchain/core`

📖 [View in docs](https://reference.langchain.com/javascript/langchain-core/stores/BaseStore)

Abstract interface for a key-value store.

## Signature

```javascript
class BaseStore
```

## Extends

- `Serializable`

## Constructors

- [`constructor()`](https://reference.langchain.com/javascript/langchain-core/stores/BaseStore/constructor)

## Properties

- `lc_kwargs`
- `lc_namespace`
- `lc_serializable`
- `lc_aliases`
- `lc_attributes`
- `lc_id`
- `lc_secrets`
- `lc_serializable_keys`

## Methods

- [`mdelete()`](https://reference.langchain.com/javascript/langchain-core/stores/BaseStore/mdelete)
- [`mget()`](https://reference.langchain.com/javascript/langchain-core/stores/BaseStore/mget)
- [`mset()`](https://reference.langchain.com/javascript/langchain-core/stores/BaseStore/mset)
- [`toJSON()`](https://reference.langchain.com/javascript/langchain-core/stores/BaseStore/toJSON)
- [`toJSONNotImplemented()`](https://reference.langchain.com/javascript/langchain-core/stores/BaseStore/toJSONNotImplemented)
- [`yieldKeys()`](https://reference.langchain.com/javascript/langchain-core/stores/BaseStore/yieldKeys)
- [`lc_name()`](https://reference.langchain.com/javascript/langchain-core/stores/BaseStore/lc_name)

---

[View source on GitHub](https://github.com/langchain-ai/langchainjs/blob/2a5713dfbc5987fb1dcf85cd1de9379816688927/libs/langchain-core/src/stores.ts#L6)