{"id":22505155,"url":"https://github.com/azer/format-text","last_synced_at":"2025-08-03T11:32:43.759Z","repository":{"id":7622085,"uuid":"8981233","full_name":"azer/format-text","owner":"azer","description":"String formatting library inspired from Python","archived":false,"fork":false,"pushed_at":"2020-11-24T15:57:40.000Z","size":9,"stargazers_count":10,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-11T23:21:00.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-24T04:29:20.000Z","updated_at":"2023-07-24T19:33:57.000Z","dependencies_parsed_at":"2022-07-21T14:19:48.359Z","dependency_job_id":null,"html_url":"https://github.com/azer/format-text","commit_stats":null,"previous_names":["azer/new-format"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/azer/format-text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fformat-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fformat-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fformat-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fformat-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azer","download_url":"https://codeload.github.com/azer/format-text/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fformat-text/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268537849,"owners_count":24266271,"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-08-03T02:00:12.545Z","response_time":2577,"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":[],"created_at":"2024-12-07T00:15:12.816Z","updated_at":"2025-08-03T11:32:43.510Z","avatar_url":"https://github.com/azer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## format-text\n\nString formatting library inspired from Python\n\n### Install\n\n```bash\n$ npm install azer/format-text\n```\n\n### Usage\n\n```js\nformat = require('format-text')\n\nformat('Hello {0}. The weather is currently {1}°.', 'Kitty', '67')\n// =\u003e Hello Kitty. The weather is currently 67°.\n\nformat('Hello {name}, The weather is currently {degree}°', { name:'Kitty', degree: 67 })\n// =\u003e Hello Kitty. The weather is currently 67°.\n```\n\n![](https://dl.dropbox.com/s/9q2p5mrqnajys22/npmel.jpg?token_hash=AAHqttN9DiGl63ma8KRw-G0cdalaiMzrvrOPGnOfDslDjw)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fformat-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazer%2Fformat-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fformat-text/lists"}