{"id":25620794,"url":"https://github.com/codewell/create-mapper-js","last_synced_at":"2026-06-12T23:34:49.869Z","repository":{"id":42959756,"uuid":"229231787","full_name":"codewell/create-mapper-js","owner":"codewell","description":"Functional mapping function for JavaScript","archived":false,"fork":false,"pushed_at":"2023-01-05T03:24:01.000Z","size":935,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-02T23:06:06.534Z","etag":null,"topics":[],"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/codewell.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":"2019-12-20T09:19:17.000Z","updated_at":"2021-08-09T09:38:28.000Z","dependencies_parsed_at":"2023-02-03T08:32:09.568Z","dependency_job_id":null,"html_url":"https://github.com/codewell/create-mapper-js","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fcreate-mapper-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fcreate-mapper-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fcreate-mapper-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Fcreate-mapper-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewell","download_url":"https://codeload.github.com/codewell/create-mapper-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240139809,"owners_count":19754187,"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":[],"created_at":"2025-02-22T07:28:03.807Z","updated_at":"2026-05-25T06:30:17.396Z","avatar_url":"https://github.com/codewell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @codewell/create-mapper-js\n\n## Installation\n```\nnpm install @codewell/create-mapper\n```\n\n## Basic Usage\n```JavaScript\nimport createMapper from '@codewell/create-mapper';\n\n// Create a mapping function\nconst mapper = createMapper((element) =\u003e {\n    // Do something each element\n    return element + 1;\n})\n\n// Use the mapper\nmapper([1, 2, 3]) // =\u003e [2, 3, 4]\n```\n\n## Testing\n**Functions**  \nWrite tests in the `tests/` folder\n\n**Package**\n1. Make a dry reslease with `npm run dry-release`. This will generate a file `packagename-x.x.x.tgz`.\n2. Install the package in your other application/package by running `npm install path/to/packagename-x.x.x.tgz`.\n3. Import and use as usual in you application/package.\n\n## Releasing\n1. Run `npm run release`\n2. Push the code to github\n3. Update package version \n    - `npm version patch` updates `x.x.1` -\u003e `x.x.2`\n    - `npm version minor` updates `x.1.x` -\u003e `x.2.x`\n    - `npm version major` updates `1.x.x` -\u003e `2.x.x`\n4. Run `npm publish --access public`\n\n## Issues\nPlease help by posting issues here on github\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewell%2Fcreate-mapper-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewell%2Fcreate-mapper-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewell%2Fcreate-mapper-js/lists"}