{"id":17771438,"url":"https://github.com/rootslab/abaco","last_synced_at":"2025-09-07T20:38:02.426Z","repository":{"id":16139689,"uuid":"18885069","full_name":"rootslab/abaco","owner":"rootslab","description":"Abaco, an ultra fast Number parser for Buffers.","archived":false,"fork":false,"pushed_at":"2018-02-10T14:40:01.000Z","size":36,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T00:53:38.277Z","etag":null,"topics":["buffer","parseint","parser"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"gileze33/osrm","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rootslab.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":"2014-04-17T16:16:24.000Z","updated_at":"2024-01-28T19:33:16.000Z","dependencies_parsed_at":"2022-09-02T21:02:34.664Z","dependency_job_id":null,"html_url":"https://github.com/rootslab/abaco","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/rootslab/abaco","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootslab%2Fabaco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootslab%2Fabaco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootslab%2Fabaco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootslab%2Fabaco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootslab","download_url":"https://codeload.github.com/rootslab/abaco/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootslab%2Fabaco/sbom","scorecard":{"id":784675,"data":{"date":"2025-08-11","repo":{"name":"github.com/rootslab/abaco","commit":"77622d3e0538432a921bf2a3ebcfcd0a5cfc8b5c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T05:46:21.286Z","repository_id":16139689,"created_at":"2025-08-23T05:46:21.286Z","updated_at":"2025-08-23T05:46:21.286Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274092374,"owners_count":25221007,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["buffer","parseint","parser"],"created_at":"2024-10-26T21:32:55.249Z","updated_at":"2025-09-07T20:38:02.359Z","avatar_url":"https://github.com/rootslab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Abaco\n\n[![NPM VERSION](http://img.shields.io/npm/v/abaco.svg?style=flat)](https://www.npmjs.org/package/abaco)\n[![CODACY BADGE](https://img.shields.io/codacy/b18ed7d95b0a4707a0ff7b88b30d3def.svg?style=flat)](https://www.codacy.com/public/44gatti/abaco)\n[![CODECLIMATE-TEST-COVERAGE](https://img.shields.io/codeclimate/c/rootslab/abaco.svg?style=flat)](https://codeclimate.com/github/rootslab/abaco)\n[![LICENSE](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/rootslab/abaco#mit-license)\n\n![NODE VERSION](https://img.shields.io/node/v/abaco.svg)\n[![TRAVIS CI BUILD](http://img.shields.io/travis/rootslab/abaco.svg?style=flat)](http://travis-ci.org/rootslab/abaco)\n[![BUILD STATUS](http://img.shields.io/david/rootslab/abaco.svg?style=flat)](https://david-dm.org/rootslab/abaco)\n[![DEVDEPENDENCY STATUS](http://img.shields.io/david/dev/rootslab/abaco.svg?style=flat)](https://david-dm.org/rootslab/abaco#info=devDependencies)\n\n[![NPM MONTHLY](http://img.shields.io/npm/dm/abaco.svg?style=flat)](http://npm-stat.com/charts.html?package=abaco)\n![NPM YEARLY](https://img.shields.io/npm/dy/abaco.svg)\n\n[![NPM GRAPH](https://nodei.co/npm/abaco.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/abaco/)\n\n\u003e **_Abaco_**, an ultra fast number parser for Buffers. It parses a Buffer, or a portion of it, to get the Number value stored as (ASCII) String.\n\n\u003e It is faster than __parseInt()__, __parseFloat()__ and __Number()__ constructor to convert a String\n\u003e or a Buffer to a usable Number.\n\n\u003e __NOTE__: It adds the ability to parse a float with a radix argument, as for #parseInt.\n\n### Install\n\n```bash\n$ npm install abaco [-g]\n// clone repo\n$ git clone git@github.com:rootslab/abaco.git\n```\n\n\u003e __require__ returns an helper hash/obj.\n\n```javascript\nvar Abaco  = require( 'abaco' );\n```\n\n### Run Tests\n\n```bash\n$ cd abaco/\n$ npm test\n```\n\n### Run Benchmarks\n\n```bash\n$ cd abaco/\n$ npm run-script bench\n```\n\n### Sample Usage\n\n\u003e See [examples](example/).\n\n\n### Methods\n\n\u003e Arguments within [ ] are optional.\n\n```javascript\n/*\n * Parse a Buffer that contains string representation of an integer Number.\n * If radix is not specified, it defaults to 10; possible radix value range\n * is between 2 and 16.\n * If begin or end are not specified, it parses the entire Buffer.\n *\n * NOTE: js number precision is limited to ~ 2^53 or 10^16, it means, for example,\n * that the limit for decimal numbers is 16 bytes/chars; so it returns NaN for\n * values out of this range. NaN also signals that is better to use raw String,\n * because number representation is not accurate. See 'bl' table in the code to\n * check bytes limit for every radix.\n *\n * NOTE: Only '-' prefix is supported, no 0x' or '0' prefix, for hex or octal\n * digits; just use the begin offset for skipping some bytes.\n *\n */\nAbaco#parseInt( Buffer b [, Number radix [, Number begin [, Number end ] ] ] ) : Number\n\n/*\n * A strict parse, it returns NaN if the number parsed, contains some symbols\n * that are not allowed for the current radix alphabet.\n *\n * Example: #xparseInt( '012', 2 ) returns NaN, 2 is not in binary alphabet.\n */\nAbaco#xparseInt( Buffer b [, Number radix [, Number begin [, Number end ] ] ] ) : Number\n\n/*\n * Parse a Buffer that contains a string representation of an integer or float Number.\n * If radix is not specified, it defaults to 10; possible radix value range\n * is between 2 and 16.\n * If begin or end are not specified, it parses the entire Buffer.\n */\nAbaco#parseFloat( Buffer b [, Number radix [, Number begin [, Number end ] ] ] ) : Number\n\n/*\n * A strict parseFloat, it returns NaN if the number parsed, contains some symbols\n * that are not allowed for the current radix alphabet.\n */\nAbaco#xparseFloat( Buffer b [, Number radix [, Number begin [, Number end ] ] ] ) : Number\n\n/*\n * Parse a list of Buffer as integers.\n */\nAbaco#parseIntArray( Array buffers [, Number radix ] ) : Array\n\n/*\n * Parse a list of Buffer as floats.\n */\nAbaco#parseFloatArray( Array buffers [, Number radix ] ) : Array\n\n```\n\n------------------------------------------------------------------------\n\n\n### MIT License\n\n\u003e Copyright (c) 2014-present \u0026lt; Guglielmo Ferri : 44gatti@gmail.com \u0026gt;\n\n\u003e Permission is hereby granted, free of charge, to any person obtaining\n\u003e a copy of this software and associated documentation files (the\n\u003e 'Software'), to deal in the Software without restriction, including\n\u003e without limitation the rights to use, copy, modify, merge, publish,\n\u003e distribute, sublicense, and/or sell copies of the Software, and to\n\u003e permit persons to whom the Software is furnished to do so, subject to\n\u003e the following conditions:\n\n\u003e __The above copyright notice and this permission notice shall be\n\u003e included in all copies or substantial portions of the Software.__\n\n\u003e THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\n\u003e EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\u003e MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n\u003e IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n\u003e CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n\u003e TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n\u003e SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootslab%2Fabaco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootslab%2Fabaco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootslab%2Fabaco/lists"}