{"id":15184555,"url":"https://github.com/devanandb/adonis-nunjucks","last_synced_at":"2026-02-03T20:43:42.310Z","repository":{"id":57173604,"uuid":"157030890","full_name":"devanandb/adonis-nunjucks","owner":"devanandb","description":"Nunjucks VIewProvider for AdonisJs","archived":false,"fork":false,"pushed_at":"2020-04-07T05:21:01.000Z","size":89,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-21T02:19:33.253Z","etag":null,"topics":["adonis-framework","adonisjs","nunjucks","provider","templating"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devanandb.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":"2018-11-10T23:29:59.000Z","updated_at":"2020-04-07T05:20:53.000Z","dependencies_parsed_at":"2022-08-24T13:31:05.379Z","dependency_job_id":null,"html_url":"https://github.com/devanandb/adonis-nunjucks","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/devanandb/adonis-nunjucks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanandb%2Fadonis-nunjucks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanandb%2Fadonis-nunjucks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanandb%2Fadonis-nunjucks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanandb%2Fadonis-nunjucks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devanandb","download_url":"https://codeload.github.com/devanandb/adonis-nunjucks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanandb%2Fadonis-nunjucks/sbom","scorecard":{"id":336766,"data":{"date":"2025-08-11","repo":{"name":"github.com/devanandb/adonis-nunjucks","commit":"4628b6b0c8f4054d6f12fea4d0e3313868ea19ea"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 1/15 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":"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":"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":"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"81 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-c6rq-rjc2-86v2","Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-55r9-7mf8-m382","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-q42p-pg8m-cqh6","Warn: Project is vulnerable to: GHSA-w457-6q6x-cgp9","Warn: Project is vulnerable to: GHSA-62gr-4qp9-h98f","Warn: Project is vulnerable to: GHSA-f52g-6jhx-586p","Warn: Project is vulnerable to: GHSA-2cf5-4w76-r9qv","Warn: Project is vulnerable to: GHSA-3cqr-58rm-57f8","Warn: Project is vulnerable to: GHSA-g9r4-xpmj-mj65","Warn: Project is vulnerable to: GHSA-q2c6-c6pm-g3gh","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-282f-qqgm-c34q","Warn: Project is vulnerable to: GHSA-675m-85rw-j3w4","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-82v2-mx6x-wq7q","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-x77j-w7wf-fjmw","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-g6ww-v8xp-vmwg","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-6g33-f262-xjp4","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-h9rv-jmmf-4pgx","Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-jv35-xqg7-f92r","Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-j44m-qm6p-hp7m","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-29xr-v42j-r956","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-558p-m34m-vpmq","Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq","Warn: Project is vulnerable to: GHSA-mgfv-m47x-4wqp","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T04:54:59.786Z","repository_id":57173604,"created_at":"2025-08-18T04:54:59.786Z","updated_at":"2025-08-18T04:54:59.786Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29056761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T20:13:53.544Z","status":"ssl_error","status_checked_at":"2026-02-03T20:13:40.507Z","response_time":96,"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":["adonis-framework","adonisjs","nunjucks","provider","templating"],"created_at":"2024-09-27T17:04:47.522Z","updated_at":"2026-02-03T20:43:42.276Z","avatar_url":"https://github.com/devanandb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- [![NPM Package][npm-badge]][npm-link] --\u003e\n\u003cp align=\"left\"\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/adonis-nunjucks\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/adonis-nunjucks.svg\" alt=\"NPM\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://npmcharts.com/compare/adonis-nunjucks?minimal=true\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/adonis-nunjucks.svg\" alt=\"NPM\"\u003e\u003c/a\u003e\n\u003ca href=\"https://app.fossa.io/projects/git%2Bgithub.com%2Fdevanandb%2Fadonis-nunjucks?ref=badge_shield\" alt=\"FOSSA Status\"\u003e\u003cimg src=\"https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdevanandb%2Fadonis-nunjucks.svg?type=shield\"/\u003e\u003c/a\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/adonis-nunjucks\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/adonis-nunjucks.svg\" alt=\"NPM\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/adonis-nunjucks\"\u003e\u003cimg src=\"http://inch-ci.org/github/devanandb/adonis-nunjucks.svg?branch=master\"\u003e\u003c/a\u003e\n\t\u003ca href=\"http://hits.dwyl.io/devanandb/adonis-nunjucks\"\u003e\u003cimg src=\"http://hits.dwyl.io/devanandb/adonis-nunjucks.svg\" alt=\"HitCount\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n# Adonis Nunjucks\n\n[Nunjucks](https://mozilla.github.io/nunjucks/) templating provider for AdonisJs framework version 4.\n\n## Installation\n\nIn order to use adonis-nunjucks\n\n```\nnpm install adonis-nunjucks --save\n```\n\nOnce you have installed the provider from [npm](https://npmjs.org/packages/adonis-nunjucks), make sure that the ViewProvider is registered as a provider inside start/app.js file.\n\n```javascript\nconst providers = [\n  'adonis-nunjucks/providers/ViewProvider'\n]\n```\n\nMake sure the default edge provider (`@adonisjs/framework/providers/ViewProvider`) is not registered as they will conflict with each other.\n\n#### Compatibility\n\n*This package has been rebuilt for Adonis 4 and is incompatible with Adonis 3 and earlier. \nFor Adonis v3 install the previous version (3.01) with :*\n\n```\nnpm install adonis-nunjucks --save\n```\n\n\u003c!-- ## Config\n\nNunjucks options can be added to `config/nunjucks.js`, these will be passed to the nunjucks engine:\n\n```javascript\n  module.exports = {\n    pretty: false,\n    cache: false, // Recommend setting this to true for 10x big performance boost\n    doctype: undefined,\n    filters: undefined,\n    self: false,\n    debug: false\n  }\n``` --\u003e\n\n\n## Basic Usage\n\nLet’s start with the basic example of saying `Hello world` by rendering a nunjucks template. All of the views are stored inside `resources/views` directory and end with `.html` extension.\n\nCreate a nunjucks template at `resources/views/hello.html`. You can use an adonis/ace command to create the view.\n\n```sh\nadonis make:nunjucks home\n\n    ✔ create  resources/views/home.html\n```\n\nNow let's create a route that renders it:\n\n```javascript\nRoute.get('/', ({ view }) =\u003e {\n  return view.render('home')\n})\n```\n\nThe view.render method takes the relative path to the view file. There is no need to type .html extension.\n\n\n## View Methods\n\nThese methods are available on the view context object in controllers and middleware.\n\n#### view.share(locals)\nShare variables as a local with this template context.\n\n\n| Param | Type | Description |\n| --- | --- | --- |\n| locals | \u003ccode\u003eObject\u003c/code\u003e | Key value pairs |\n\n###### *Example*\n\nQuite often you want to share request specific values with your views, this can be done in middleware or controllers by passing an object to the share method.\n\n```javascript\nclass SomeMiddleware {\n  async handle ({ view }, next) {\n    view.share({\n      apiVersion: request.input('version')\n    })\n\n    await next()\n  }\n}\n```\n\nInside your views, you can access it like any other variable\n\n```nunjucks\n{{apiVersion}}\n```\n\n#### view.render(template, locals) ⇒ \u003ccode\u003eString\u003c/code\u003e\nRender a nunjucks template\n\n**Returns**: \u003ccode\u003eString\u003c/code\u003e - HTML rendered output  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| template | \u003ccode\u003eString\u003c/code\u003e | View file (.html extension not required) |\n| locals | \u003ccode\u003eObject\u003c/code\u003e | Variables to be passed to the view |\n\n#### view.renderString(string, locals) ⇒ \u003ccode\u003eString\u003c/code\u003e\nRender a string of nunjucks\n\n**Returns**: \u003ccode\u003eString\u003c/code\u003e - HTML rendered output  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| string | \u003ccode\u003eString\u003c/code\u003e | String to be rendered |\n| locals | \u003ccode\u003eObject\u003c/code\u003e | Variables to be passed to the view |\n\n\n## View Helpers\n\nA number of global methods and contextual helpers are injected into all views.\n\n### Request\n\nAll views have access to the current request object, and you can call request methods inside your templates as well.\n\n```nunjucks\nThe request URL is {% request.url() %}\n```\n\nAlso, there is a direct helper to get the URL.\n\n```nunjucks\nThe request URL is {% url %}\n```\n\n\u003c!-- ### style - *formerly css (deprecated)*\n\nAdd link tag to a CSS file. The file name should be relative from the public directory. Absolute links are left alone (for external CDNs etc)\n\n``` nunjucks\n// Renders \u003clink rel='stylesheet' href=\"{{ style }}\"\u003e\n``` --\u003e\n\n\u003c!-- ### script\n\nSimilar to css, adds a script tag to the document\n\n``` nunjucks\n!= script('my-script')\n// Renders \u003cscript type=\"text/javascript\" src=\"/my-script.js\"\u003e\u003c/script\u003e'\n```\n\n### assetsUrl\nReturns path of a file relative from the public directory.\n\n```nunjucks\nimg(src=assetsUrl('logo.png'))\n// Renders \u003cimg src='/logo.png' /\u003e\n``` --\u003e\n\n\u003c!-- ### route\nGet actual URL for a route\n\nExpecting the route to be registered as following\n\n```javascript\nRoute.get('users/:id', 'UserController.show').as('profile')\n```\n\n```nunjucks\na(href=route('profile', { id: 1 })) View Profile\n// Renders \u003ca href=\"/users/1\"\u003eView Profile\u003c/a\u003e\n```\n\nAlso, you can use the controller method name.\n\n```nunjucks\na(href=\"route('UserController.show', { id: 1 }) View profile\n```\n\n### auth\nIf you are using the auth provider, then you can access the current logged in user using the `auth.user` object.\n\n### csrfField\nIf you are using the shield middleware, you can access the `csrfToken` and field using one of the following methods.\n\n```nunjucks\n!= csrfField()\n// Renders \u003cinput type=\"hidden\" name=\"_csrf\" value=\"...\" /\u003e\n```\n\n### cspMeta\n\nWhen using shield middleware, the CSP headers are set automatically. However can also set them using HTML meta tags.\n\n```nunjucks\nhead\n  != cspMeta()\n```\n\n## Extending views\n\nYou can also extend views by adding your own view globals. Globals should only be added once, so make sure to use the start/hooks.js file and add them using the after providersBooted hook.\n\n### Globals\n\n``` javascript\nconst { hooks } = require('@adonisjs/ignitor')\n\nhooks.after.providersBooted(() =\u003e {\n  const View = use('View')\n\n  View.global('currentTime', function () {\n    return new Date().getTime()\n  })\n})\n```\n\nAbove global returns the current time when you reference it inside the views.\n\n```nunjucks\np The time is #{currentTime()}\n```\n\nYou can extract the code inside providersBooted to a different file and require it.\n\n### Globals scope\n\nThe value of `this` inside globals closure is bound to the template context so that you can access runtime values from it.\n\nTo use other global methods or values, make use of the this.globals object.\n\n```javascript\nView.global('messages', {\n  success: 'This is a success message',\n  warning: 'This is a warning message'\n})\n\nView.global('getMessage', function (type) {\n  return this.globals.messages[type]\n})\n```\n\n```nunjucks\np= getMessage('success')\n// Renders \u003cp\u003eThis is a success message\u003c/p\u003e\n``` --\u003e\n\n### More documentation coming soon.\n\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdevanandb%2Fadonis-nunjucks.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdevanandb%2Fadonis-nunjucks?ref=badge_large)\n\n\n[npm-badge]: https://img.shields.io/npm/v/adonis-nunjucks.svg?maxAge=30\n[npm-link]:https://npmjs.com/package/adonis-nunjucks\n\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdevanandb%2Fadonis-nunjucks.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdevanandb%2Fadonis-nunjucks?ref=badge_large)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevanandb%2Fadonis-nunjucks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevanandb%2Fadonis-nunjucks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevanandb%2Fadonis-nunjucks/lists"}