# tsdatautils-core

> TypeScript core classes for the other data utilities

Latest version **0.2.4** (published 2025-08-06) · 0 weekly downloads

## Install

```sh
npm install tsdatautils-core
pnpm add tsdatautils-core
yarn add tsdatautils-core
bun add tsdatautils-core
```

## Health

**Score 40/100 (D)** — status: stable.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.2.4 |
| Published | 2025-08-06 |
| First published | 2019-03-21 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >= 18.0.0 |
| Dependencies | 6 |
| Unpacked size | 124.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mitch Chiles |
| Maintainers | mitchcodes |

## Links

- npm: https://www.npmjs.com/package/tsdatautils-core
- Repository: https://github.com/MitchCodes/Typescript-DataUtils
- Homepage: https://github.com/MitchCodes/Typescript-DataUtils#about
- Issues: https://github.com/MitchCodes/Typescript-DataUtils/issues
- npm.io page: https://npm.io/package/tsdatautils-core

## Dependencies (6)

- [tslib](https://npm.io/package/tslib.md) ^2.8.1
- [moment](https://npm.io/package/moment.md) ^2.30.1
- [winston](https://npm.io/package/winston.md) ^3.17.0
- [p-throttle](https://npm.io/package/p-throttle.md) ^4.1.1
- [concurrent-queue](https://npm.io/package/concurrent-queue.md) ^7.0.2
- [winston-daily-rotate-file](https://npm.io/package/winston-daily-rotate-file.md) ^5.0.0

## Recent versions

- 0.2.4 (latest) — 2025-08-06
- 0.2.3 — 2025-08-06
- 0.2.2 — 2025-08-06
- 0.2.1 — 2025-08-06
- 0.2.0 — 2025-08-06
- 0.1.7 — 2021-04-13
- 0.1.6 — 2021-04-06
- 0.1.5 — 2021-04-06
- 0.1.4 — 2021-04-06
- 0.1.3 — 2021-04-06
- 0.1.2 — 2021-04-03
- 0.1.0 — 2021-04-01
- 0.0.95 — 2021-03-31
- 0.0.93 — 2021-03-30
- 0.0.92 — 2021-03-30
- … 37 more at https://npm.io/package/tsdatautils-core/versions

## README

# Typescript-DataUtils

## Disclaimer

These packages are developed for [TypeScript](http://www.typescriptlang.org/) in a Node environment. Some of the below features probably will not be very helpful when working in a purely JavaScript environment.

## About

The purpose of these packages are to provide code helpers to speed up the development time of developing TypeScript code. This is specifically for data-tier operations such as data lookup and caching.

## Installation

You must add the core package regardless of which add-ons you use.

```sh
npm install tsdatautils-core
```

For helper classes for Azure Table Storage, install the below package.

```sh
npm install tsdatautils-azuretablestorage
```

For helper classes for in-memory cache, install the below package.

```sh
npm install tsdatautils-memorycache
```

For helper classes for Redis Cache, install the below package.

```sh
npm install tsdatautils-rediscache
```

```sh
npm install tsdatautils-azurestoragequeue
```

For helper classes for Azure Service Bus Pub/Sub, install the below package.

```sh
npm install tsdatautils-azurepubsub-servicebus
```

## Features

Helper classes for:

* Azure Table Storage
* Azure Blob Storage
* Redis Cache
* In-memory cache
* Azure Storage Queue
* Azure Pub/sub using Service Bus Queues

## Development Notes

If you intend to contribute to this repository, here are some relevant notes:

### Dependency Order

Since each of the add-on packages depend on the core package, please be sure to update the core first. If anyone has a good suggestion on how to have each package reference each other properly in the development environment without using the actual npm package as a dependency, please feel free to reach out to me.

### Visual Studio Code

This project was created using Visual Studio Code. As for extensions, the jest extension is definitely helpful. The launch.json file was tricky to get working with Jest so below there is an example of the one that is working well for me.

#### _launch.json example:_

```json
{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "program": "${workspaceFolder}/src\\main.ts",
            "outFiles": [
               "${workspaceFolder}/build/**/*.js"
            ],
            "sourceMaps": true
        },
        {
            "name": "Debug Jest Tests",
            "type": "node",
            "request": "launch",
            "port":9222,
            "cwd": "${workspaceRoot}",
            "runtimeArgs": ["--inspect=9222",
                "${workspaceRoot}/node_modules/jest/bin/jest.js",
                "--config",
                "${workspaceRoot}/jest.config.js",
                "--runInBand",
                "--coverage",
                "false",
                "--no-cache"],
            "console": "integratedTerminal",
            "internalConsoleOptions": "neverOpen",
            "sourceMaps": true,
            "outFiles": [
                "${workspaceFolder}/build/**/*.js",
                "${workspaceFolder}/__tests__/**/*"
            ],
            "env":{
                "NO_WEBPACK_MIDDLEWARE": "false"
            }
        }
    ]
}
```

---
_Source: https://npm.io/package/tsdatautils-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
