Socket
Socket
Sign inDemoInstall

typescript-object-utils

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-object-utils - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

dist/src/objectMap/index.d.ts

1

dist/index.d.ts

@@ -7,1 +7,2 @@ export { shallowEquals } from "./src/shallowEquals";

export { pick } from "./src/pick";
export { objectMap } from "./src/objectMap";

@@ -16,1 +16,3 @@ "use strict";

exports.pick = pick_1.pick;
var objectMap_1 = require("./src/objectMap");
exports.objectMap = objectMap_1.objectMap;

@@ -7,1 +7,2 @@ export {shallowEquals} from "./src/shallowEquals";

export {pick} from "./src/pick";
export {objectMap} from "./src/objectMap";

2

package.json
{
"name": "typescript-object-utils",
"version": "0.2.10",
"version": "0.2.11",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

@@ -92,2 +92,11 @@ # typescript-object-utils

#### objectMap
```typescript
import {objectMap} from "typescript-object-utils";
const obj = {a: 1, b: 2};
objectMap(a, v => String(v*2))
//=> { a: '2', b: '4' }
```
### [License (MIT)](LICENSE.md)
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