18 packages found

for-own

Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.
  1. for
  2. for-in
  3. for-own
  4. has
  5. has-own
  6. hasOwn
  7. key
  8. keys
  9. object
  10. own
  11. value
  12. forown
  13. javascript
  14. loop
  15. node
  16. nodejs
2 Contributors
1.0.0published 8 years agoMIT

has-values

Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
  1. array
  2. boolean
  3. empty
  4. find
  5. function
  6. has
  7. hasOwn
  8. javascript
  9. js
  10. key
  11. keys
  12. node.js
  13. null
  14. number
  15. object
  16. properties
  17. property
  18. string
  19. type
  20. util
  21. utilities
  22. utility
  23. value
  24. values
1 Contributors
2.0.1published 7 years agoMIT

has-symbols

Determine if the JS environment has Symbol support. Supports spec, or shams.
  1. Symbol
  2. symbols
  3. typeof
  4. sham
  5. polyfill
  6. native
  7. core-js
  8. ES6
  9. ecmascript
  10. es2015
  11. has
  12. javascript
  13. symbol-support
1 Contributors
1.1.0published 4 months agoMIT

for-in

Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js
  1. for
  2. for-in
  3. for-own
  4. has
  5. has-own
  6. hasOwn
  7. in
  8. key
  9. keys
  10. object
  11. own
  12. value
  13. forin
  14. iterate
  15. values
2 Contributors
1.0.2published 8 years agoMIT

css-has-pseudo

Style elements relative to other elements in CSS
  1. contains
  2. css
  3. descendant
  4. has
  5. javascript
  6. js
  7. polyfill
  8. postcss
  9. postcss-plugin
  10. pseudo
  11. selector
126 Contributors
7.0.2published 4 months agoMIT-0

hasown

A robust, ES3 compatible, "has own property" predicate.
  1. has
  2. hasOwnProperty
  3. hasOwn
  4. has-own
  5. own
  6. property
  7. in
  8. javascript
  9. ecmascript
2 Contributors
2.0.2published 1 year agoMIT

has-ansi

Check if a string has ANSI escape codes
  1. ansi
  2. styles
  3. color
  4. colour
  5. colors
  6. terminal
  7. console
  8. string
  9. tty
  10. escape
  11. shell
  12. xterm
  13. command-line
  14. text
  15. regex
  16. regexp
  17. match
  18. test
  19. find
  20. pattern
  21. has
7 Contributors
6.0.0published 9 months agoMIT

has-proto

Does this environment have the ability to get the [[Prototype]] of an object on creation with `__proto__`?
  1. prototype
  2. proto
  3. set
  4. get
  5. __proto__
  6. getPrototypeOf
  7. setPrototypeOf
  8. has
1 Contributors
1.2.0published 4 months agoMIT

has-value

Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
  1. array
  2. boolean
  3. check
  4. deep
  5. empty
  6. function
  7. has
  8. hasOwn
  9. is-empty
  10. nested
  11. null
  12. number
  13. object
  14. object path
  15. properties
  16. property
  17. string
  18. type
  19. value
  20. dot-notation
  21. javascript
  22. microlib
  23. util
3 Contributors
2.0.2published 7 years agoMIT

set-value

Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths.
  1. bury
  2. deep-get-set
  3. deep-object
  4. deep-property
  5. deep-set
  6. deep-set-in
  7. deephas
  8. dot-prop
  9. dot2val
  10. es5-dot-prop
  11. get
  12. getsetdeep
  13. has
  14. hasown
  15. key
  16. keys
  17. lodash.set
  18. nested
  19. notation
  20. object
  21. object-path
  22. object-path-set
  23. object-set
  24. prop
  25. properties
  26. property
  27. props
  28. set
  29. set-deep
  30. set-deep-prop
  31. set-nested-prop
  32. setvalue
  33. value
  34. values
  35. dot
  36. dot-notation
  37. getobject
  38. javascript
  39. lodash
  40. node
  41. path
  42. val
11 Contributors
3.0.3published 3 years agoMIT
Showing 1 to 10 of 18 results