npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

accurtype

v2.5.180

Published

Some TS type tool that can may make your programming easier.

Downloads

25

Readme

Accurate Type

简体中文 | English

The Accurate Type is a collection of TypeScript type declare, which can make your programming more accurate and easir.

This project has not only various simple types but also many generic type expressions like counter. The wide type world is waiting for your exploration!

All Utilities

base: 99

base: 36

  1. type SigNumber
  2. type ObjectKey
  3. function toTypeNameObj
  4. type WideNum
  5. type WideNumType
  6. const WIDE_NUM_TYPE
  7. function isWideNum
  8. type ArrayAccur
  9. type ObjectAccur
  10. type FunctionAccur
  11. type Accur
  12. type Tostrable
  13. type TostrableType
  14. const TOSTRABLE_TYPE
  15. function isTostrable
  16. type NumOfStr
  17. function str2num
  18. type BoolOfNum
  19. function num2bool
  20. type CnvedNum
  21. function cnvNum
  22. type NumOfBool
  23. function bool2num
  24. type BoolOfTostrable
  25. function tostrable2bool
  26. type Poped
  27. type Pushed
  28. type Shifted
  29. type Unshifted
  30. type IfredArr
  31. type IfredObj
  32. type SemiRequired
  33. type SemiUnrequired
  34. type SemiPartial
  35. type SemiUnpartial
  36. type EqualTo

bool: 20

  1. type Not
  2. function not
  3. type And
  4. type TypeAnd
  5. function and
  6. type Or
  7. type TypeOr
  8. function or
  9. type Nand
  10. type TypeNand
  11. function nand
  12. type Nor
  13. type TypeNor
  14. function nor
  15. type Xor
  16. type TypeXor
  17. function xor
  18. type Xnor
  19. type TypeXnor
  20. function xnor

is: 27

  1. type IsType
  2. type IsWideNum
  3. type IsWideWideNum
  4. type IsLtdWideNum
  5. type IsBoolean
  6. type IsWideBoolean
  7. type IsLtdBoolean
  8. type IsString
  9. type IsWideString
  10. type IsLtdString
  11. type IsArray
  12. type IsWideArray
  13. type IsLongArray
  14. type ArrayLtdSplited
  15. type ArrayLtdCombed
  16. type IsTostrable
  17. type IsWideTostrable
  18. type IsLtdTostrable
  19. type IsFunction
  20. type IsLtdFunction
  21. type IsWideFunction
  22. type IsObject
  23. type IsLtdObject
  24. type IsWideObject
  25. type IsDefedObject
  26. type IsArrayOfLtd
  27. type IsLtd

type-name: 16

  1. interface TypeMapJS
  2. type TypeNameJS
  3. const TYPE_MAP
  4. function str2type
  5. type AllTypeJS
  6. type TypeOfJS
  7. type TypeNameObjJS
  8. type IsTypeNameJS
  9. function isTypeNameJS
  10. interface TypeMap
  11. type TypeName
  12. type TypeOf
  13. type NameOfType
  14. type TypeNameObj
  15. type IsTypeName
  16. function isTypeName

json: 6

base: 3

  1. type MinItems
  2. type LtdUniqueItems
  3. type UniqueItems

sch: 3

  1. interface SchemaObj
  2. type Schema
  3. type OfSchema

snt: 47

app: 16

  1. type LenOfStr
  2. function strlen
  3. type LenOfArr
  4. function arrlen
  5. type LenOf
  6. function len
  7. type Repeated
  8. function repeat
  9. type Leading0Filled
  10. function fillLeading0
  11. type LtdIndexOf
  12. type IndexOf
  13. function indexOf
  14. type FilledWith
  15. type SplitedAt
  16. type SettedAt

xcr: 7

  1. type SntXcrUns
  2. type SntXcr
  3. type SntXcrNum
  4. type Increase
  5. function increase
  6. type Decrease
  7. function decrease

cmp: 17

  1. type SntCmpUns
  2. type SntCmp
  3. type SntCmpNum
  4. type IsLess
  5. function isLess
  6. type IsNotless
  7. function isNotless
  8. type IsGreater
  9. function isGreater
  10. type IsNotgreater
  11. function isNotgreater
  12. type IsEqual
  13. function isEqual
  14. type IsAllLess
  15. type LtdMaxIn
  16. type MayUpNum
  17. type UpNum

opn: 7

  1. type SntAosUns
  2. type SntAos
  3. type SntAosNum
  4. type Added
  5. function add
  6. type Subed
  7. function sub

sprec: 24

  1. type Spaceless
  2. function removeSpace
  3. type Leading0less
  4. function removeLeading0
  5. type StringReved
  6. function revString
  7. type Replaced
  8. function replace
  9. type PostAligned
  10. function postAlign
  11. type PreAligned
  12. function preAlign
  13. type BothPreAligned
  14. type BothPostAligned
  15. type Splited
  16. function split
  17. type Joined
  18. function join
  19. type Concated
  20. function concat
  21. type PostVoidLess
  22. type LtdArrayReved
  23. type ArrayReved
  24. function revArray

matrix: 4

trsed: 1

  1. type Transposed

flip: 3

  1. type FlipedUD
  2. type LtdFlipedLR
  3. type FlipedLR