Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

handy-redis

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

handy-redis - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

dist/flatten.d.ts

37

package.json
{
"name": "handy-redis",
"version": "1.1.1",
"version": "1.1.2",
"description": "A wrapper around node_redis with Promise and TypeScript support.",
"main": "dist/src/index.js",
"main": "dist/index.js",
"files": [
"dist/src"
"dist"
],
"types": "dist/src/index",
"types": "dist/index.d.ts",
"scripts": {
"clean": "shx rm -rf {dist,src/generated}",
"compile": "tsc --project .",
"prebuild": "ts-node scripts/generate-client",
"build": "tsc --project .",
"clean": "del-cli 'dist' 'src/generated' 'test/generated/**/*.ts' '**/*.js' '**/*.js.map' '!node_modules/**/*'",
"compile": "tsc -p .",
"prebuild": "ts-node scripts/generate-types && ts-node scripts/generate-tests",
"build": "tsc -p .",
"lint": "tslint **/*.ts",
"pretest": "npm run build",
"test": "npm run test:unit",
"test:unit": "ava dist/test **/__tests__/*.js",
"test": "ava",
"posttest": "npm run lint",
"prepublishOnly": "tsc -p src",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"coverage": "nyc ava dist/test **/__tests__/*.js && nyc report --reporter=text-lcov | coveralls"
"coverage": "nyc ava && nyc report --reporter=text-lcov | coveralls"
},

@@ -36,2 +36,14 @@ "repository": {

"homepage": "https://github.com/mmkal/handy-redis#readme",
"ava": {
"files": [
"test",
"**/__tests__/*.js"
],
"serial": true
},
"nyc": {
"include": [
"src/*"
]
},
"dependencies": {

@@ -46,4 +58,5 @@ "@types/redis": "^0.12.36",

"@types/yamljs": "^0.2.30",
"ava": "^0.19.1",
"ava": "^0.23.0",
"coveralls": "^2.13.1",
"del-cli": "^1.1.0",
"lodash": "^4.17.4",

@@ -50,0 +63,0 @@ "nyc": "^10.3.0",

@@ -5,2 +5,4 @@ # handy-redis

[![Build Status](https://travis-ci.org/mmkal/handy-redis.svg?branch=master)](https://travis-ci.org/mmkal/handy-redis)
[![Coverage Status](https://coveralls.io/repos/github/mmkal/handy-redis/badge.svg)](https://coveralls.io/github/mmkal/handy-redis?branch=master)
[![npm version](https://badge.fury.io/js/handy-redis.svg)](https://www.npmjs.com/package/handy-redis)

@@ -11,5 +13,5 @@ ## Why

This package exclusively uses Promises, and the TypeScript types are generated from the official redis documentation and examples, so it's much easier to know what parameters a command expects.
This package is a wrapper around node_redis and exclusively uses Promises It publishes TypeScript types generated from the official redis documentation and examples, so it's much easier to know what parameters a command expects.
## Using
## Usage

@@ -56,2 +58,3 @@ ```cli

git clone https://github.com/mmkal/handy-redis --recursive
cd handy-redis
npm install

@@ -64,1 +67,5 @@ npm test

If you cloned without `--recursive` you'll need to run `git submodule update --init` to get the redis-doc repo locally.
### Testing
If a snapshot test fails, it's possible it just needs to be updated. Make sure your git status is clean and run `npm test -- -u`.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc