2.3.0 • Published 7 years ago
@typemon/types
Licence
MIT
Version
2.3.0
Deps
0
Size
41 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated
Types -

Useful types, interfaces and utilities
About
We wanted to use the type more powerfully. So we needed more types and a powerful type checker and eventually created it. I hope this helps.
Features
Types, InterfacesIndexReadonlyIndexNullableWritableNewableCallable
TypeisBooleanisNotBooleanisTrueisNotTrueisFalseisNotFalseisTruthyisFalsyisFunctionisNotFunctionisNumberisNotNumberisNaNisNotNaNisIntegerisNotIntegerisSafeIntegerisNotSafeIntegerisFiniteisInfiniteisFloatisNotFloatisZeroisNotZeroisPositiveNumberisNotPositiveNumberisNegativeNumberisNotNegativeNumberisObjectisNotObjectisExtensibleisNotExtensibleisFrozenisNotFrozenisSealedisNotSealedisStringisNotStringisEmptyStringisNotEmptyStringisSymbolisNotSymbolisUndefinedisNotUndefinedisNullisNotNullisUndefinedOrNullisNotUndefinedAndNotNullisArrayisNotArrayisDateisNotDateisPromiseisNotPromiseisRegExpisNotRegExpisErrorisNotErrorisEvalErrorisNotEvalErrorisRangeErrorisNotRangeErrorisReferenceErrorisNotReferenceErrorisSyntaxErrorisNotSyntaxErrorisTypeErrorisNotTypeErrorisProxyisNotProxyisEmptyisNotEmpty
Installation
$ npm install @typemon/types
import {
/* Types, Interfaces */
Index, ReadonlyIndex,
Nullable,
Writable,
Newable,
Callable,
/* Type checker */
Type
} from '@typemon/types';