0.13.2 • Published 9 years ago

cd-common v0.13.2

Weekly downloads
84
License
-
Repository
github
Last release
9 years ago

Common

Utility functions and common data used in CareerDean. Some functions are meant to be used in the browser (With Browserify or Webpack).

Installation

npm install cd-common

Utility Functions

  • addApostrophe
  • buildCommunityKey
  • buildObject
  • capitalize
  • compactObject
  • deep
  • easingPattern
  • emptyFunction
  • escapeForRegex
  • extractStopwords
  • firstWord
  • getHTML
  • getLinks
  • getTeaser
  • hasSameProperties
  • highlight
  • idEquals
  • isEmail
  • isObjectId
  • IsomError
  • isURL
  • isValidJSON
  • objectIdsToStrings
  • parseJSON
  • permute
  • pluralize
  • pushUnique
  • randomGarbage
  • randomString
  • removeHTML
  • removeNewlines
  • removeTrailingSlash
  • sanitizeUrl
  • shortHeadline

Browser-only Functions

  • getTopOffset
  • openPopup
  • selectElementContents
  • smoothScroll

Instances

  • emitter

Stopwords

  • stopwordsUrl
  • stopwordsAll

Regexes

  • emailRegex
  • urlRegex
  • objectIdRegex

Authors

0.13.2

9 years ago

0.13.1

10 years ago

0.13.0

10 years ago

0.12.0

10 years ago

0.11.0

10 years ago

0.10.0

10 years ago

0.9.2

10 years ago

0.9.1

10 years ago

0.9.0

10 years ago

0.8.1

10 years ago

0.8.0

10 years ago

0.7.8

10 years ago

0.7.7

10 years ago

0.7.6

10 years ago

0.7.5

10 years ago

0.7.4

10 years ago

0.7.3

10 years ago

0.7.2

10 years ago

0.7.1

10 years ago

0.7.0

10 years ago

0.6.3

10 years ago

0.6.2

10 years ago

0.6.1

10 years ago

0.6.0

10 years ago

0.5.0

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago