TranslatedA gateway developed in golang. It has various plugins, can be extended on your own, and is plug-and-play. In addition, it can quickly help enterprises manage API services and improve the stability and security of API services.
Use property paths (`a.b.c`) get a nested value from an object.
- dot-notation
- javascript
- object
- paths
JavaScript/Node.js utility. Returns `true` if the value is a number or string number. Useful for checking regex match results, user input, parsed strings, etc.
Set nested properties on an object using dot-notation.
- dot-prop
- dot-notation
- set
- get
Get a formatted timestamp. Used in gulp, assemble, generate, and many others.
- timestamp
- time-stamp
- date
- time
Recursively flatten an array or arrays. This is the fastest implementation of array flatten.
Returns an array with only the unique values from all given arrays using strict equality for comparisons.
Return the last element in an array. Faster than `.slice`
Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.
- package
- json
- packagejson
- node
Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.
Get the first element or first n elements of an array.
Bind a context to all functions in an object, including deeply nested functions.
- function
- bind
- context
- object