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

aid.js

v0.1.96

Published

A Bundle of Javascript util Library to help developers. No dependency to other Libraries.

Downloads

136

Readme

aid.js

npm version

About

  • A Bundle of Javascript util Library to help developers.
  • No dependency to other Libraries.

Thanks to whoever use aid.js.

Install

npm install aid.js --save-dev

Getting Started

In Node.js environment :

var aid = require('aid.js');
var isNotNaN = aid.not(isNaN);
console.log(isNotNaN(0)); // true

In Browser environment :

import aid from 'aid.js';
const isNotNaN = aid.not(isNaN);
console.log(isNotNaN(0)); // true

Usage

  • base utils
aid.existy
aid.isDefined
aid.isBoolean
aid.isNumber
aid.isInteger
aid.isString
aid.isArray
aid.isObject
aid.isFunction
aid.isRegExp
aid.isError
aid.isElement
aid.extend
aid.inherit
aid.namespace
aid.memoize
aid.borrow
aid.bind
aid.compose
aid.not
aid.each
aid.truthy
aid.falsy
aid.nth
aid.allOf
aid.anyOf
aid.constant
aid.plucker
aid.best
aid.iterateUntil
aid.curry
aid.curry2
aid.curryAll
aid.reverseArgs
aid.partial
aid.partialRight
aid.rest
aid.pipeline
aid.lazyChain
aid.eq
aid.identity
aid.tab
aid.alt
aid.seq
aid.fork
  • operator utils
aid.operator['+']
aid.operator['===']
aid.operator['!']
  • platform utils
aid.platform.isWindow
aid.platform.isMac
aid.platform.isIOS
aid.platform.isIPhone
aid.platform.isIPad
aid.platform.isAndroid
  • browser utils
aid.browser.isIE
aid.browser.isEdge
aid.browser.isFF
aid.browser.isOpera
aid.browser.isChrome
aid.browser.isChromePhone
aid.browser.isChromeTablet
aid.browser.isSafari
aid.browser.isSafariPhone
aid.browser.isSafariTablet
aid.browser.getIEVersion
aid.browser.getFFVersion
aid.browser.getOperaVersion
aid.browser.getChromeVersion
aid.browser.getSafariVersion
aid.browser.getIECompatibility
aid.browser.isSupportDraggable
aid.browser.isSupportDragAndDrop
aid.browser.isSupportFileApi
aid.browser.isChromeExtension
aid.browser.canUseDOM
aid.browser.getCookie
aid.browser.setCookie
  • string utils
aid.string.trim
aid.string.hasUniqueChars
aid.string.getFileExtension
aid.string.isEmail
aid.string.isIFrame
aid.string.getUriParam
aid.string.getUriParams
aid.string.getUriCombinedParams
aid.string.isValidYoutubeVideoId
aid.string.getObjCheckYoutubeURI
aid.string.getObjCheckTwitchURI
aid.string.getDocumentPrefixedProperty
aid.string.getElementPrefixedStyle
aid.string.removeNoContentElements
aid.string.removeNoContentElementsRecursively
aid.string.absentToEmpty
aid.string.numberWithCommas
aid.string.getPositionFromTranslateStr
aid.string.isPalindrome
aid.string.isDecoded
aid.string.decodeRecursively
aid.string.escapeRegExp
  • math utils
aid.math.getSizeAspectFill
aid.math.getSizeAspectFit
aid.math.getSizeWidthFit
aid.math.isEpsilonEqual
aid.math.isIndexInLoop
aid.math.getLoopedLastIndex
aid.math.getReverseLoopedFirstIndex
aid.math.factorial
aid.math.getObjForPagination
aid.math.degreeToRadian
aid.math.radianToDegree
aid.math.getHeightOfRightTriangle
aid.math.getDistanceBetweenTwoPoints
aid.math.getOrthogonalPointBetweenLineAndSomePoint
aid.math.getRandomPositiveNegative
aid.math.getRandomFloat
aid.math.getRandomInt
aid.math.remap
aid.math.gt
aid.math.lt
aid.math.gte
aid.math.lte
  • date utils
aid.date.DAYS
aid.date.MONTHS
aid.date.MIN_TO_SEC
aid.date.HOUR_TO_SEC
aid.date.DAY_TO_SEC
  • array utils
aid.array.indexOf
aid.array.indexOfMin
aid.array.swap
aid.array.selectionSort
aid.array.insertionSort
aid.array.merge
aid.array.mergeSort
aid.array.getPivotIndexAfterPartition
aid.array.quickSort
aid.array.remove
aid.array.getMatrixArr
aid.array.binaryIndexOf
aid.array.getFirstObjectHasProperty
aid.array.overlappedConditionSortByProperty
  • object utils
aid.object.isEmpty
aid.object.keys
aid.object.shallowEqual
  • element utils
aid.element.isEntirelyInViewport
aid.element.isPartiallyInViewport
  • file utils
aid.file.appendScriptFile
  • clipboard utils
aid.clipboard.copyText
  • monad utils
aid.monad.Identity
aid.monad.Empty
aid.monad.Wrapper
aid.monad.Nothing
aid.monad.Just
aid.monad.Maybe
aid.monad.Left
aid.monad.Right
aid.monad.Either
aid.monad.IO
  • data structure utils
aid.createStack
aid.createQueue
aid.createLinkedList
aid.createSet
aid.createHashTable
aid.createDictionary
aid.createBinarySearchTree
aid.createGraph

Contact

  • @Website : http://www.dragmove.xyz
  • @Blog : http://blog.naver.com/dragmove
  • @LinkedIn : https://www.linkedin.com/in/hyunseok-kim-99748295/
  • @E-mail : [email protected]

License

MIT license.