@tsfp/identity
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@tsfp/identity

coverage build npm version

An identity function written in TypeScript.

Installing

Using npm

npm install @tsfp/identity

Using yarn

yarn add @tsfp/identity

Usage

import identity from "@tsfp/identity";
const a = {};
identity(a) === a; // true

For more information see the API documentation.

Contributing

Contributions in the form of pull requests and bug reports are appreciated.

Running tests

Tests are ran using the test npm script.

Using npm

npm test

Using yarn

yarn test

/@tsfp/identity/

    Package Sidebar

    Install

    npm i @tsfp/identity

    Weekly Downloads

    1

    Version

    0.0.1

    License

    ISC

    Unpacked Size

    703 kB

    Total Files

    12

    Last publish

    Collaborators

    • jewetnitg