{"id":18994823,"url":"https://github.com/jweinst1/formstringsjs","last_synced_at":"2025-11-10T19:05:14.564Z","repository":{"id":57240632,"uuid":"50681054","full_name":"jweinst1/FormStringsJS","owner":"jweinst1","description":"A simple way to get python-like format strings in JavaScript","archived":false,"fork":false,"pushed_at":"2016-01-29T18:16:14.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T18:39:59.448Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jweinst1.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":"2016-01-29T18:08:05.000Z","updated_at":"2016-01-29T18:08:08.000Z","dependencies_parsed_at":"2022-08-29T22:21:40.666Z","dependency_job_id":null,"html_url":"https://github.com/jweinst1/FormStringsJS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jweinst1%2FFormStringsJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jweinst1%2FFormStringsJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jweinst1%2FFormStringsJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jweinst1%2FFormStringsJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jweinst1","download_url":"https://codeload.github.com/jweinst1/FormStringsJS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240010090,"owners_count":19733514,"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":"2024-11-08T17:27:11.739Z","updated_at":"2025-11-10T19:05:09.527Z","avatar_url":"https://github.com/jweinst1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#FormStringsJS\n\nA simple addon for Node to make easy Template Strings in JavaScript.\n\n##Installation\n\nTo Install FormStringsJS, simply type in your shell:\n\n`npm install formstringsjs`\n\n##Usage\n\nTo use the package, you have to require it, then use the FormString() function to transform your strings.\n\nThis function takes two arguments, the first, is the string you wish to format. The second, is a JavaScript object that contains the\nmappings of keys to values that will be replaced in your format string. Here is an example:\n\nYou have the string `\"I love {fruit} so much.\"`, and you can format that string with the object `{\"fruit\":\"apples\"}`.\n\nThe result will be `\"I love apples so much.\"`. Please note though, you cannot have multiple bracket names in the same string, or else an error will be returned.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjweinst1%2Fformstringsjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjweinst1%2Fformstringsjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjweinst1%2Fformstringsjs/lists"}