{"id":18285408,"url":"https://github.com/lh0x00/helper-fn","last_synced_at":"2025-04-09T06:16:42.029Z","repository":{"id":57262679,"uuid":"141728164","full_name":"lh0x00/helper-fn","owner":"lh0x00","description":"some functions help you save time processing, easy to use!","archived":false,"fork":false,"pushed_at":"2019-02-18T18:19:46.000Z","size":59,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T00:32:42.641Z","etag":null,"topics":["array","function","helper","library","object","string","tool"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lh0x00.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-20T15:23:08.000Z","updated_at":"2018-11-29T14:02:48.000Z","dependencies_parsed_at":"2022-09-01T04:25:55.671Z","dependency_job_id":null,"html_url":"https://github.com/lh0x00/helper-fn","commit_stats":null,"previous_names":["lamhieu-vk/helper-fn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lh0x00%2Fhelper-fn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lh0x00%2Fhelper-fn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lh0x00%2Fhelper-fn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lh0x00%2Fhelper-fn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lh0x00","download_url":"https://codeload.github.com/lh0x00/helper-fn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987285,"owners_count":21028895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["array","function","helper","library","object","string","tool"],"created_at":"2024-11-05T13:16:35.724Z","updated_at":"2025-04-09T06:16:41.999Z","avatar_url":"https://github.com/lh0x00.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# helper-fn\n\n[![npm version][npm-version-image]][npm-url]\n[![npm downloads][npm-downloads-image]][npm-url]\n[![github issues][github-issues-image]][github-issues-url]\n[![build status][travis-image]][npm-url]\n[![greenkeeper badge][greenkeeper-image]](https://greenkeeper.io/)\n\nsome functions help you save time processing, easy to use!\n\n## install\n\n```bash\n# use npm\n$ npm install helper-fn\n\n# or yarn\n$ yarn add helper-fn\n```\n\n## usage\n\n```javascript\n// default import\nimport { sliceObjectByKeys, memoize } from 'helper-fn'\n\n// another way to reduce size\nimport sliceObjectByKeys from 'helper-fn/dist/sliceObjectByKeys'\nimport memoize from 'helper-fn/dist/memoize'\n```\n\n## functions\n\n### sliceObjectByKeys\n\nclone object from another object by keys, [read more](https://github.com/lamhieu-vk/helper-fn/blob/master/examples/sliceObjectByKeys.md)\n\n```javascript\nimport { sliceObjectByKeys } from 'helper-fn' //use  default import\n\nimport sliceObjectByKeys from 'helper-fn/dist/sliceObjectByKeys' // or reduce size\n```\n\n### memoize\n\nfunction to memoization remembers the latest invocation, [read more](https://github.com/lamhieu-vk/helper-fn/blob/master/examples/memoize.md)\n\n```javascript\nimport { memoize } from 'helper-fn' //use  default import\n\nimport memoize from 'helper-fn/dist/memoize' // or reduce size\n```\n\n### capitalizeFirstLetter\n\ncapitalize first letter [read more](https://github.com/lamhieu-vk/helper-fn/blob/master/examples/capitalizeFirstLetter.md)\n\n```javascript\nimport { capitalizeFirstLetter } from 'helper-fn' //use  default import\n\nimport capitalizeFirstLetter from 'helper-fn/dist/capitalizeFirstLetter' // or reduce size\n```\n\n### excludeObjectByKeys\n\nclone object from another object and exclude by keys, [read more](https://github.com/lamhieu-vk/helper-fn/blob/master/examples/excludeObjectByKeys.md)\n\n```javascript\nimport { excludeObjectByKeys } from 'helper-fn' //use  default import\n\nimport excludeObjectByKeys from 'helper-fn/dist/excludeObjectByKeys' // or reduce size\n```\n\n### regexStringParser\n\nparse string with special characters to regex format [read more](https://github.com/lamhieu-vk/helper-fn/blob/master/examples/regexStringParser.md)\n\n```javascript\nimport { regexStringParser } from 'helper-fn' //use  default import\n\nimport regexStringParser from 'helper-fn/dist/regexStringParser' // or reduce size\n```\n\n[npm-url]: https://npmjs.org/package/helper-fn\n[npm-version-image]: https://badge.fury.io/js/helper-fn.svg\n[npm-downloads-image]: https://img.shields.io/npm/dm/helper-fn.svg\n[github-issues-image]: https://img.shields.io/github/issues/lamhieu-vk/helper-fn.svg\n[github-issues-url]: https://github.com/lamhieu-vk/helper-fn/issues\n[travis-image]: https://travis-ci.com/lamhieu-vk/helper-fn.svg?branch=master\n[greenkeeper-image]: https://badges.greenkeeper.io/lamhieu-vk/helper-fn.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flh0x00%2Fhelper-fn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flh0x00%2Fhelper-fn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flh0x00%2Fhelper-fn/lists"}