{"id":26819479,"url":"https://github.com/wellitongervickas/javascript-shortcode-parser","last_synced_at":"2026-05-19T09:10:52.016Z","repository":{"id":57297223,"uuid":"151651836","full_name":"wellitongervickas/javascript-shortcode-parser","owner":"wellitongervickas","description":"This function is like a sprintf of php. You'll need to pass a object like {name: 'Foobar' } and a text with shortcodes to be replaced with you short codes.","archived":false,"fork":false,"pushed_at":"2018-10-08T16:41:15.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-14T09:35:53.242Z","etag":null,"topics":["ecmascript","helper","javascript","php","sprintf"],"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/wellitongervickas.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":"2018-10-05T00:19:39.000Z","updated_at":"2018-10-08T16:41:17.000Z","dependencies_parsed_at":"2022-09-01T13:01:53.710Z","dependency_job_id":null,"html_url":"https://github.com/wellitongervickas/javascript-shortcode-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wellitongervickas/javascript-shortcode-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellitongervickas%2Fjavascript-shortcode-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellitongervickas%2Fjavascript-shortcode-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellitongervickas%2Fjavascript-shortcode-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellitongervickas%2Fjavascript-shortcode-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wellitongervickas","download_url":"https://codeload.github.com/wellitongervickas/javascript-shortcode-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellitongervickas%2Fjavascript-shortcode-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33209636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ecmascript","helper","javascript","php","sprintf"],"created_at":"2025-03-30T05:18:40.162Z","updated_at":"2026-05-19T09:10:51.964Z","avatar_url":"https://github.com/wellitongervickas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# javascript-shortcode-parser\n\u003e Create a text dynamically using a function to convert \"{{short_code}}\" to texts.\n\n### Description\n\u003e This function is like a sprintf of php. You'll need to pass a object like {name: 'Foobar' } and a text with shortcodes to be replaced with you short codes.\n\n#### Install\n- npm install javascript-shortcode-parser\n- import shortCodeParser from 'javascript-shortcode-parser';\n\n#### Example 1\n\u003e Input -\u003e shortCodeParser('My name is {{user_name}}, { user_name: 'foobar' });\n\u003e Output -\u003e My name is foobar\n\n[Npm](https://www.npmjs.com/package/javascript-shortcode-parser)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellitongervickas%2Fjavascript-shortcode-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwellitongervickas%2Fjavascript-shortcode-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellitongervickas%2Fjavascript-shortcode-parser/lists"}