@common-utilities/head
Advanced tools
Comparing version 0.0.5 to 0.0.6
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.head = void 0; | ||
/** | ||
@@ -4,0 +5,0 @@ * head 👤 |
{ | ||
"name": "@common-utilities/head", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "A basic implementation of the common utility function, Head 👤", | ||
@@ -31,3 +31,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "cdd3e5900fa1ac141ef92b6ae669b06a657b3251" | ||
"gitHead": "3de4a71ca5c0192f988bfdede188fc72f941f9a4" | ||
} |
@@ -18,3 +18,3 @@ # @common-utilities/head 🧰👤 | ||
```javascript | ||
```typescript | ||
const head = ([first]): => first | ||
@@ -29,5 +29,6 @@ ``` | ||
```javascript | ||
```typescript | ||
const input = Array.from(Array(10).keys()) | ||
const firstInputItem = head(input) | ||
// 0 | ||
``` | ||
@@ -41,3 +42,3 @@ | ||
Just simple typed functional well documented and tested javascript utility functions—so why not use 'em? | ||
Simple, typed, functional, documented, and tested javascript utility functions. | ||
@@ -44,0 +45,0 @@ --- |
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "./dist" | ||
"outDir": "./dist", | ||
"rootDir": "src" | ||
}, | ||
"include": ["src"] | ||
} |
Sorry, the diff of this file is not supported yet
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
4272
51
45