typescript-object-utils
Advanced tools
Comparing version 0.2.10 to 0.2.11
@@ -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"; |
{ | ||
"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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18711
42
449
102