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

@common-utilities/head

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@common-utilities/head - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

1

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.head = void 0;
/**

@@ -4,0 +5,0 @@ * head 👤

4

package.json
{
"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

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