Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

es-two

87f-41MIT1.0.0

A polyfill for the JavaScript integer value 2.

two

readme

es-two

A polyfill for the integer value 2.

Usage

const $two = require('es-two')

console.log($two) // Output: 2