Socket
Socket
Sign inDemoInstall

typical

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typical - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

4

lib/typical.js

@@ -7,2 +7,6 @@ "use strict";

@alias t
@example
```js
var t = require("typical");
```
*/

@@ -9,0 +13,0 @@

2

package.json
{
"name": "typical",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "0.1.0",
"version": "1.0.0",
"description": "For type-checking Javascript values.",

@@ -6,0 +6,0 @@ "repository": "https://github.com/75lb/typical.git",

@@ -10,5 +10,12 @@ [![view on npm](http://img.shields.io/npm/v/typical.svg)](https://www.npmjs.org/package/typical)

####Example
```js
var t = require("typical");
```
**Contents**
* [isNumber(n)](#module_typical.isNumber)
* [isPlainObject(input)](#module_typical.isPlainObject)

@@ -20,4 +27,5 @@

<a name="module_typical.isNumber"></a>
###t.isNumber(n)
###isNumber(n)
Returns true if input is a number

@@ -54,3 +62,3 @@

<a name="module_typical.isPlainObject"></a>
###t.isPlainObject(input)
###isPlainObject(input)
Returns true if input type is `object` and not an Array

@@ -57,0 +65,0 @@

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