{"id":29188693,"url":"https://github.com/techwritescode/require.ejs","last_synced_at":"2025-08-25T02:19:05.660Z","repository":{"id":57158717,"uuid":"66289674","full_name":"techwritescode/require.ejs","owner":"techwritescode","description":null,"archived":false,"fork":false,"pushed_at":"2016-08-22T17:11:36.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-29T19:30:45.249Z","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/techwritescode.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-08-22T16:34:37.000Z","updated_at":"2016-08-22T16:41:55.000Z","dependencies_parsed_at":"2022-09-07T12:10:28.668Z","dependency_job_id":null,"html_url":"https://github.com/techwritescode/require.ejs","commit_stats":null,"previous_names":["techwritescode/require.ejs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techwritescode/require.ejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techwritescode%2Frequire.ejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techwritescode%2Frequire.ejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techwritescode%2Frequire.ejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techwritescode%2Frequire.ejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techwritescode","download_url":"https://codeload.github.com/techwritescode/require.ejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techwritescode%2Frequire.ejs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263047534,"owners_count":23405278,"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":"2025-07-01T22:36:41.989Z","updated_at":"2025-07-01T22:36:42.625Z","avatar_url":"https://github.com/techwritescode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Require.ejs\n\n### A library for easy compilation of EJS\nA easy way to compile ejs on the fly.\n#### Install\n```\nnpm install require.ejs\n```\n#### Usage\n```\n  require('require.ejs');\n  var template = require('./your_template.ejs');\n  template(data,options); // Returns Rendered HTML\n```\n#### Versus\n```\nvar ejs = require('ejs');\nvar str = fs.readFileSync(\"./yourtemplate.ejs\",\"utf8\");\nvar template = ejs.compile(str, options);\ntemplate(data);\n```\nFor Documentation on EJS please see [here](https://www.npmjs.com/package/ejs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwritescode%2Frequire.ejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechwritescode%2Frequire.ejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwritescode%2Frequire.ejs/lists"}