Comparing version 0.3.10 to 0.3.11
{ | ||
"name": "zeelib", | ||
"description": "A small lib of FP, Node, and DOM utils.", | ||
"version": "0.3.10", | ||
"version": "0.3.11", | ||
"author": { | ||
@@ -37,5 +37,5 @@ "name": "Zac Anger", | ||
"devDependencies": { | ||
"babel-cli": "^6.18.0", | ||
"babel-cli": "^6.23.0", | ||
"babel-eslint": "^7.1.1", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.22.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.23.0", | ||
"babel-preset-latest": "^6.22.0", | ||
@@ -42,0 +42,0 @@ "babel-tape-runner": "^2.0.1", |
211
README.md
@@ -12,5 +12,6 @@ ## zeelib | ||
For now, documentation is mostly in the comments, or function names. | ||
Sorry. | ||
There's a full list at the bottom of this file. | ||
Documentation is mostly just function names. Sorry. | ||
Usage: | ||
@@ -28,5 +29,205 @@ | ||
Skimming the source or browsing in the Node REPL would probably be a good | ||
way to find out what all is in here. | ||
## License | ||
License: WTFPL | ||
[WTFPL](./LICENSE.md) | ||
## Contributing | ||
* Please run `npm test`. | ||
* If you can, please _add_ a test. | ||
* Please add your thing in these places: | ||
* `src/index.js` in the appropriate place | ||
* The full list below | ||
* Make sure you run `npm run build` | ||
## Full list: | ||
### dom | ||
* getCookie | ||
* getHeight | ||
* getIsBrowser | ||
* getReferrer | ||
* getScrollBarWidth | ||
* getWidth | ||
* restoreScrollPosition | ||
* scrollTop | ||
### keycodes | ||
* getKeyCodes | ||
### regex, string utils, etc. | ||
* addNewlines | ||
* alphaNumericOnly | ||
* camelCaseToLispCase | ||
* camelCaseToSnakeCase | ||
* capitalizeFirstChar | ||
* collapseWhitespace | ||
* combineRegex | ||
* cssToJson | ||
* escapeHtml | ||
* fixWindowsSlashes | ||
* getComplimentaryColors | ||
* getRandomHex32 | ||
* getRandomString | ||
* getUid4 | ||
* getUid8 | ||
* hexRegex | ||
* inlineString | ||
* isAlphaNumeric | ||
* isEmoji | ||
* isEmptyString | ||
* isHexBased | ||
* isMobileOrTablet | ||
* isStringSomewhereInArray | ||
* isValidEmail | ||
* isValidHex | ||
* lightenOrDarken | ||
* lispCaseToCamelCase | ||
* minifyString | ||
* newlinesToSpaces | ||
* normalizeClassname | ||
* normalizeColor | ||
* normalizeText | ||
* randomColor | ||
* removeNewlines | ||
* removeNonAlpha | ||
* removeNonAlphaNumeric | ||
* removeNonNumeric | ||
* removeNumeric | ||
* removeTags | ||
* removeWhitespace | ||
* rot13 | ||
* snakeCaseToCamelCase | ||
* stripPunctuation | ||
* trimHash | ||
* trimSpaces | ||
* unescapeHtml | ||
### node | ||
* base64BufferDec | ||
* base64BufferEnc | ||
* colorize | ||
* dir | ||
* findPort | ||
* getNodeModules | ||
* getTerminalColumns | ||
* getTerminalRows | ||
* getTerminalSize | ||
* getUserHome | ||
* hasColor | ||
* isInstalled | ||
* logWithInfo | ||
* open | ||
* readJson | ||
* readJsonSync | ||
* termPrompt | ||
* tinyRouter | ||
* writeError | ||
* writeJson | ||
* writeJsonSync | ||
### fp utils | ||
* all | ||
* compose | ||
* curry | ||
* each | ||
* filter | ||
* getFunctionArguments | ||
* id | ||
* invoke | ||
* map | ||
* memoize | ||
* mix | ||
* not | ||
* once | ||
* pair | ||
* pipe | ||
* pluck | ||
* propEq | ||
* reduce | ||
* reverse | ||
* unfold | ||
* zip | ||
* zipThen | ||
* zipWith | ||
### types | ||
* isArray | ||
* isArrayLike | ||
* isBoolean | ||
* isDate | ||
* isDefined | ||
* isDomElement | ||
* isEmpty | ||
* isEven | ||
* isFloat | ||
* isFunction | ||
* isInteger | ||
* isJson | ||
* isNan | ||
* isNegative | ||
* isNodeList | ||
* isNull | ||
* isNumber | ||
* isObject | ||
* isObjectEqual | ||
* isOdd | ||
* isPositive | ||
* isPow2 | ||
* isPrimitive | ||
* isPromise | ||
* isRegExp | ||
* isString | ||
* isType | ||
* isUndefined | ||
* objectToString | ||
* toType | ||
* typeOf | ||
### misc | ||
* chunk | ||
* cloneWithout | ||
* copy | ||
* copyWithout | ||
* deepCopy | ||
* doubleUntil | ||
* dropWhere | ||
* filterFloat | ||
* findWhere | ||
* getBrokenImage | ||
* getKeyByValue | ||
* getNiceDate | ||
* getTransparentGif | ||
* greatestCommonDivisor | ||
* invoker | ||
* isObjectEmpty | ||
* leastCommonMultiple | ||
* leftPad | ||
* lesser | ||
* logWithTimestamp | ||
* maybeArgs | ||
* nco | ||
* noSwitch | ||
* objectAssign | ||
* objectClone | ||
* objectFromEntries | ||
* objectInherit | ||
* reverseDigits | ||
* shallowCopy | ||
* sleep | ||
* splitStringOn | ||
* tap | ||
* throwError | ||
* timeTest | ||
* transpose | ||
* transposeFlat | ||
* tryExecNTimes | ||
* unless | ||
* xor |
86324
232