0.1.7 • Published 3 years ago

tsdatautils-core v0.1.7

Weekly downloads
107
License
-
Repository
github
Last release
3 years ago

Typescript-DataUtils

Disclaimer

These packages are developed for TypeScript 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.

npm install tsdatautils-core

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

npm install tsdatautils-azuretablestorage

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

npm install tsdatautils-memorycache

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

npm install tsdatautils-rediscache

Features

Helper classes for:

  • Azure Table Storage
  • Redis Cache

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:

{
    "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"
            }
        }
    ]
}
0.1.7

3 years ago

0.1.6

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.5

3 years ago

0.1.2

3 years ago

0.1.0

3 years ago

0.0.95

3 years ago

0.0.91

3 years ago

0.0.92

3 years ago

0.0.93

3 years ago

0.0.9

3 years ago

0.0.84

3 years ago

0.0.85

3 years ago

0.0.86

3 years ago

0.0.87

3 years ago

0.0.88

3 years ago

0.0.81

3 years ago

0.0.82

3 years ago

0.0.83

3 years ago

0.0.8

3 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.1

5 years ago

0.0.1-beta22

5 years ago

0.0.1-beta21

5 years ago

0.0.1-beta20

5 years ago

0.0.1-beta19

5 years ago

0.0.1-beta18

5 years ago

0.0.1-beta17

5 years ago

0.0.1-beta16

5 years ago

0.0.1-beta15

5 years ago

0.0.1-beta14

5 years ago

0.0.1-beta12

5 years ago

0.0.1-beta11

5 years ago

0.0.1-beta10

5 years ago

0.0.1-beta9

5 years ago

0.0.1-beta8

5 years ago

0.0.1-beta7

5 years ago

0.0.1-beta6

5 years ago

0.0.1-beta5

5 years ago

0.0.1-beta4

5 years ago

0.0.1-beta3

5 years ago

0.0.1-beta2

5 years ago

0.0.1-beta

5 years ago