New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

aid.js

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aid.js

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

latest
Source
npmnpm
Version
0.1.96
Version published
Maintainers
1
Created
Source

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.

Buy Me A Coffee

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

License

MIT license.

Keywords

aid.js

FAQs

Package last updated on 31 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts