{"id":22703550,"url":"https://github.com/shrpne/from-exponential","last_synced_at":"2025-07-08T08:07:40.114Z","repository":{"id":32798155,"uuid":"142934192","full_name":"shrpne/from-exponential","owner":"shrpne","description":"Lightweight module to convert number from exponential notation to a human readable string.","archived":false,"fork":false,"pushed_at":"2023-01-07T03:58:40.000Z","size":804,"stargazers_count":37,"open_issues_count":9,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T10:42:02.023Z","etag":null,"topics":["convert","exponential","notation","number","scientific"],"latest_commit_sha":null,"homepage":"","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/shrpne.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-30T22:25:14.000Z","updated_at":"2024-10-27T10:20:54.000Z","dependencies_parsed_at":"2023-01-14T22:16:04.130Z","dependency_job_id":null,"html_url":"https://github.com/shrpne/from-exponential","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrpne%2Ffrom-exponential","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrpne%2Ffrom-exponential/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrpne%2Ffrom-exponential/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrpne%2Ffrom-exponential/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shrpne","download_url":"https://codeload.github.com/shrpne/from-exponential/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248693776,"owners_count":21146861,"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":["convert","exponential","notation","number","scientific"],"created_at":"2024-12-10T08:11:12.434Z","updated_at":"2025-04-13T09:42:41.884Z","avatar_url":"https://github.com/shrpne.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# from-exponential\n\n[![NPM Package](https://img.shields.io/npm/v/from-exponential.svg?style=flat-square)](https://www.npmjs.org/package/from-exponential)\n[![Minified Size](https://img.shields.io/bundlephobia/min/from-exponential.svg?style=flat-square)](https://bundlephobia.com/result?p=from-exponential)\n[![Build Status](https://img.shields.io/travis/com/shrpne/from-exponential/master.svg?style=flat-square)](https://travis-ci.com/shrpne/from-exponential)\n[![Coverage Status](https://img.shields.io/coveralls/github/shrpne/from-exponential/master.svg?style=flat-square)](https://coveralls.io/github/shrpne/from-exponential?branch=master)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://github.com/shrpne/from-exponential/blob/master/LICENSE)\n\nLightweight module to convert number from exponential notation to a human readable string.\n\nWorks opposite to [Number.prototype.toExponential()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toExponential)\n\n\n## Install\n\n```\nnpm install from-exponential\n```\n\n\n## Usage\n\n```js\nimport fromExponential from 'from-exponential';\n\nfromExponential(1.123e-10); // =\u003e '0.0000000001123'\nfromExponential('-12.123e-1'); // =\u003e '-1.2123'\nfromExponential(Number.MAX_VALUE); // =\u003e '179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'\n```\n\n\n## Related\n\nIt is complemented by the following packages:\n- [pretty-num](https://github.com/shrpne/pretty-num) all-in-one solution for pretty numbers: format exponential, add thousands separator, reduce decimal precision\n- [thousands](https://github.com/scurker/thousands) add thousands separators\n\n\n## License\n\nMIT License\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrpne%2Ffrom-exponential","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshrpne%2Ffrom-exponential","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrpne%2Ffrom-exponential/lists"}