{"_id":"dustjs-recursivenodecompiler","_rev":"32-ee1d93b72d1c52afd16efdc9417dd080","name":"dustjs-recursivenodecompiler","description":"Recursively compile DustJS templates with Node","dist-tags":{"latest":"3.3.0"},"versions":{"0.0.2":{"name":"dustjs-recursivenodecompiler","version":"0.0.2","description":"Compile DustJS templates recursively with NodeJS","dependencies":{"dustjs-linkedin":"~2.3.3"},"devDependencies":{"test":"0.6.x"},"scripts":{"test":"node ./test/index.js"},"main":"./lib/server.js","engine":{"node":">=0.8"},"_id":"dustjs-recursivenodecompiler@0.0.2","dist":{"shasum":"915d7dbfac50bbebc889c9110ae45cc5af1d92af","tarball":"https://registry.npmjs.org/dustjs-recursivenodecompiler/-/dustjs-recursivenodecompiler-0.0.2.tgz","integrity":"sha512-LAjMU2SXQjFAddxtBlw9Ft8pVHPuW96yYYJrIbIvOJ5bKORZ5dYsG+JdXmxUGUBFSn06LQBZl0Efl6n3/+iSPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEQ2EH8FHcjHw5sDuKnevWHr1qaxhHfuZ71Y6/UhG7SrAiAZT4dYaU6lUDiJC9buxm9Rbg0It8Mu2Jg5jZ4Pyn39sA=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"theakman2","email":"theakman2@hotmail.com"},"maintainers":[{"name":"theakman2","email":"theakman2@hotmail.com"}]},"0.0.3":{"name":"dustjs-recursivenodecompiler","version":"0.0.3","description":"Compile DustJS templates recursively with NodeJS","dependencies":{"dustjs-linkedin":"~2.3.3"},"devDependencies":{"test":"0.6.x"},"scripts":{"test":"node ./test/index.js"},"main":"./lib/server.js","engine":{"node":">=0.8"},"license":"MIT","_id":"dustjs-recursivenodecompiler@0.0.3","dist":{"shasum":"20486f82650a25c07d80f34d921f29974f90e96d","tarball":"https://registry.npmjs.org/dustjs-recursivenodecompiler/-/dustjs-recursivenodecompiler-0.0.3.tgz","integrity":"sha512-13584rUe7ORECy2dv0Wq/uQO6lEUYlyeGHvKqXgNyZbOsbL9lM6oxwfo4QjQyGEnvj6q7Lwg144Bh1nDnWst3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEDOOawrBGijzh56uONitt+hq/HR87nvt20M/SlnjRuhAiBN5pugm5w1Ua9N53b6OXTwuDuku6DCTuu91PSEsZEXEQ=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"theakman2","email":"theakman2@hotmail.com"},"maintainers":[{"name":"theakman2","email":"theakman2@hotmail.com"}]},"0.0.4":{"name":"dustjs-recursivenodecompiler","version":"0.0.4","author":{"name":"A Kazim"},"description":"Compile DustJS templates recursively with NodeJS","dependencies":{"dustjs-linkedin":"~2.3.3"},"devDependencies":{"test":"0.6.x"},"scripts":{"test":"node ./test/index.js"},"main":"./lib/server.js","repository":{"type":"git","url":"git://github.com/theakman2/node-modules-dustjs-recursivenodecompiler.git"},"engine":{"node":">=0.8"},"license":"MIT","bugs":{"url":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler/issues"},"_id":"dustjs-recursivenodecompiler@0.0.4","dist":{"shasum":"d36293167fbf6c48710e63af93f6897400002202","tarball":"https://registry.npmjs.org/dustjs-recursivenodecompiler/-/dustjs-recursivenodecompiler-0.0.4.tgz","integrity":"sha512-kSqwCdmknqx056kPykXmux3yczrxXcg/h6yqjiU+s9EPviGeaISGg2LB4re/aT70fZIdLAJk0bBbO6hsRRj3ug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOkSWE/h8LQuTy/Uh0F5trk5ILEwVeq01irFm6D53hTwIhAI+mpq1RwhkOQiAq+jcK9owXcdzDGM+d4eQGEkr6/Jcf"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"theakman2","email":"theakman2@hotmail.com"},"maintainers":[{"name":"theakman2","email":"theakman2@hotmail.com"}]},"0.1.1":{"name":"dustjs-recursivenodecompiler","version":"0.1.1","author":{"name":"A Kazim"},"description":"Recursively compile DustJS templates with Node","dependencies":{"dustjs-linkedin":"~2.3.3"},"devDependencies":{"tap":"~0.4.8"},"scripts":{"test":"tap --timeout 600 ./test/*"},"main":"./lib/server.js","repository":{"type":"git","url":"git://github.com/theakman2/node-modules-dustjs-recursivenodecompiler.git"},"engine":{"node":">=0.8"},"license":"MIT","bugs":{"url":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler/issues"},"_id":"dustjs-recursivenodecompiler@0.1.1","dist":{"shasum":"9b1d420aef1e217de769a7809d4d57bcc47b85dc","tarball":"https://registry.npmjs.org/dustjs-recursivenodecompiler/-/dustjs-recursivenodecompiler-0.1.1.tgz","integrity":"sha512-de/3/9Nm9Uo5E4bgCyxNfucifnulvth6Za0Ze9cSl9cwrQCobKJVWahtaVw3Ug46Mdmr9xLxn4Djyj3HkE+9cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICk7q3LW8PugMn7n2ZeEHDTqhJEOb/Fb5f/R+rLAK01VAiA/+L6jNz2wUKhE1oYMN4XyD5udJgKiUsqPZdOMk2vLtQ=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"theakman2","email":"theakman2@hotmail.com"},"maintainers":[{"name":"theakman2","email":"theakman2@hotmail.com"}]},"1.0.0":{"name":"dustjs-recursivenodecompiler","version":"1.0.0","author":{"name":"A Kazim"},"description":"Recursively compile DustJS templates with Node","dependencies":{"dustjs-linkedin":"~2.3.3"},"devDependencies":{"tap":"~0.4.8"},"scripts":{"test":"tap --timeout 600 ./test/tests/*"},"main":"./lib/server.js","repository":{"type":"git","url":"git://github.com/theakman2/node-modules-dustjs-recursivenodecompiler.git"},"engine":{"node":">=0.8"},"license":"MIT","bugs":{"url":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler/issues"},"_id":"dustjs-recursivenodecompiler@1.0.0","dist":{"shasum":"e5e69e21bcafe69756322236ef6297ac33ebb688","tarball":"https://registry.npmjs.org/dustjs-recursivenodecompiler/-/dustjs-recursivenodecompiler-1.0.0.tgz","integrity":"sha512-ORjE5pl+IZs2srGFQDDZeEvDUIX4oFz/JUmLKAgnKARFf4bMGFVmYKMqArWQLJmMKhYLhhicHoTQw7SLbFnE9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYZjAHH+j2Q2Fq3JBsFR2OO+xjxNllkTVR8Vm5E6dB5gIgXyXwBLRsD0tUUkl+gt/QzdzknMhlkTypD8wKfbEbefI="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"theakman2","email":"theakman2@hotmail.com"},"maintainers":[{"name":"theakman2","email":"theakman2@hotmail.com"}]},"2.0.0":{"name":"dustjs-recursivenodecompiler","version":"2.0.0","author":{"name":"A Kazim"},"description":"Recursively compile DustJS templates with Node","dependencies":{"dustjs-linkedin":"~2.3.3"},"devDependencies":{"tap":"~0.4.8"},"scripts":{"test":"tap --timeout 600 ./test/tests/*"},"main":"./lib/server.js","repository":{"type":"git","url":"git://github.com/theakman2/node-modules-dustjs-recursivenodecompiler.git"},"engine":{"node":">=0.8"},"license":"MIT","bugs":{"url":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler/issues"},"_id":"dustjs-recursivenodecompiler@2.0.0","dist":{"shasum":"9740c673591306134f49d49fa27fdf6588dd2e0e","tarball":"https://registry.npmjs.org/dustjs-recursivenodecompiler/-/dustjs-recursivenodecompiler-2.0.0.tgz","integrity":"sha512-LIT3c98Q7U8dEB7ioYmRR/oItIo99vrBrcZ3lzqR0ypGrz9o40hYafASgWQYnszYRYJdiCecHVjrtCsdv3tY0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEkOzRanxAW5ioTmRHqXQPngSVnT+4g/7EwMMrj6xHArAiEAnR2KPkVWTSc5nKaKDHBU3mIe3n5LgH4Vo8sM8tVPHiE="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"theakman2","email":"theakman2@hotmail.com"},"maintainers":[{"name":"theakman2","email":"theakman2@hotmail.com"}]},"3.0.0":{"name":"dustjs-recursivenodecompiler","version":"3.0.0","author":{"name":"A Kazim"},"description":"Recursively compile DustJS templates with Node","dependencies":{"dustjs-linkedin":"~2.3.3"},"devDependencies":{"tap":"~0.4.8"},"scripts":{"test":"tap --timeout 60 ./test/tests/*"},"main":"./lib/server.js","repository":{"type":"git","url":"git://github.com/theakman2/node-modules-dustjs-recursivenodecompiler.git"},"engine":{"node":">=0.8"},"license":"MIT","bugs":{"url":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler/issues"},"_id":"dustjs-recursivenodecompiler@3.0.0","dist":{"shasum":"403d715976e4747aa9cbda4a7e142a5944470778","tarball":"https://registry.npmjs.org/dustjs-recursivenodecompiler/-/dustjs-recursivenodecompiler-3.0.0.tgz","integrity":"sha512-+c9WNAYvsDKdRKTjwn0/LGoEPP5rIsbjLy2jjo0FF8JdZDwx7Y9pMccyilbgQ9aznU5nIzn3m9Vx2eYc4IVJmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFkgYgU64LO+G/jTOBSPG5yomCcXp+YH7zTPa1iHqjfbAiBIhOtKIPbXD6/HCma5Ef3PIdUw5Rc+G4cPaDoODHCzgA=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"theakman2","email":"theakman2@hotmail.com"},"maintainers":[{"name":"theakman2","email":"theakman2@hotmail.com"}]},"3.1.0":{"name":"dustjs-recursivenodecompiler","version":"3.1.0","author":{"name":"A Kazim"},"description":"Recursively compile DustJS templates with Node","dependencies":{"dustjs-linkedin":"~2.5.1"},"devDependencies":{"tap":"~0.4.13"},"scripts":{"test":"tap --timeout 60 ./test/tests/*"},"main":"./lib/server.js","repository":{"type":"git","url":"git://github.com/theakman2/node-modules-dustjs-recursivenodecompiler.git"},"engine":{"node":">=0.8"},"license":"MIT","bugs":{"url":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler/issues"},"homepage":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler","_id":"dustjs-recursivenodecompiler@3.1.0","dist":{"shasum":"7417749a2cf1e1e683800d22626d5f4453109add","tarball":"https://registry.npmjs.org/dustjs-recursivenodecompiler/-/dustjs-recursivenodecompiler-3.1.0.tgz","integrity":"sha512-nTt3levMG1l5iuGD0Czn4AZTNKbflHQEyHwJMICY0XoprFV3Rb3fJG9o8l0Ty1Cjk4u6kUCJuLO8ZZyVZIeufg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClEGlmW2CDNdjinpDMd4BbRaAe2V43ES1w2sHEs6XBWwIgUXhsjDJiDdJDWoIXrjE3ufJNQ0AjD1OmKPI9zpgYC4s="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"theakman2","email":"theakman2@hotmail.com"},"maintainers":[{"name":"theakman2","email":"theakman2@hotmail.com"}]},"3.2.0":{"name":"dustjs-recursivenodecompiler","version":"3.2.0","author":{"name":"A Kazim"},"description":"Recursively compile DustJS templates with Node","dependencies":{"dustjs-linkedin":"~2.6.1"},"devDependencies":{"tap":"~0.4.13"},"scripts":{"test":"tap --timeout 60 ./test/tests/*"},"main":"./lib/server.js","repository":{"type":"git","url":"git://github.com/theakman2/node-modules-dustjs-recursivenodecompiler.git"},"engine":{"node":">=0.8"},"license":"MIT","bugs":{"url":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler/issues"},"homepage":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler","_id":"dustjs-recursivenodecompiler@3.2.0","dist":{"shasum":"1de88a7d8ba66951a3b699216e7830d9bd08f5d2","tarball":"https://registry.npmjs.org/dustjs-recursivenodecompiler/-/dustjs-recursivenodecompiler-3.2.0.tgz","integrity":"sha512-9SXjw+zDH/d8T/quvXsgb2Bj5BIv4Sy4Mw0d5udRmp6A4mvvh5SPCkctbHnMduJq8c71pX2wx3u0ST+WXahNkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNrcRGd/UXGVk9lyd7x6ibnJIqGAbibi5XO0O0h+DK+AiEAqEbt/kFNYc1YJZXtL6s4m8M2Hcab7q0O/X+nHiphgtE="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"theakman2","email":"theakman2@hotmail.com"},"maintainers":[{"name":"theakman2","email":"theakman2@hotmail.com"}]},"3.3.0":{"name":"dustjs-recursivenodecompiler","version":"3.3.0","author":{"name":"A Kazim"},"description":"Recursively compile DustJS templates with Node","dependencies":{"dustjs-linkedin":"~2.7.2"},"devDependencies":{"tap":"~0.4.13"},"scripts":{"test":"tap --timeout 60 ./test/tests/*"},"main":"./lib/server.js","repository":{"type":"git","url":"git://github.com/theakman2/node-modules-dustjs-recursivenodecompiler.git"},"engine":{"node":">=0.10"},"license":"MIT","gitHead":"0b4589a9ed95fa49c881f90dffeb0f882ede961b","bugs":{"url":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler/issues"},"homepage":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler#readme","_id":"dustjs-recursivenodecompiler@3.3.0","_shasum":"e7c017d13d5c5019846c9e6c1009b0e0eb4f4ab2","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.0","_npmUser":{"name":"theakman2","email":"theakman2@hotmail.com"},"dist":{"shasum":"e7c017d13d5c5019846c9e6c1009b0e0eb4f4ab2","tarball":"https://registry.npmjs.org/dustjs-recursivenodecompiler/-/dustjs-recursivenodecompiler-3.3.0.tgz","integrity":"sha512-kfz79n7hOg7fEHduhraWqBz4iRzidq9mk11fUKRvkvMbaFRQsFEdVMOr3CIVqQXBZmSO0tKvPPPrrCvXzFxEAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDq1Bs5AVyxY1jI4Egw4dUZRpe8kQ+hqueOjlidcKwOgAIgJgdZBoHza8L8rCO01snCHOROzGUaosGJJrJ0ew9g4Ow="}]},"maintainers":[{"name":"theakman2","email":"theakman2@hotmail.com"}]}},"readme":"# dustjs-recursivenodecompiler\n\nRecursively compile [DustJS templates](https://github.com/linkedin/dustjs) with Node.\n\n## Usage\n\n```html\n<!-- /path/to/tmpl1.dust -->\n<p>My name is {>\"../foo/tmpl2.dust\"/}</p>\n```\n\n```html\n<!-- /path/foo/tmpl2.dust -->\nBob {>\"tmpl3.dust\"/}\n```\n\n```html\n<!-- /path/foo/tmpl3.dust -->\nSmith\n```\n\n```javascript\n// On a NodeJS server\nvar fs = require(\"fs\");\nvar dust = require(\"dustjs-recursivenodecompiler\");\n\nvar contents = fs.readFileSync(\"/path/to/tmpl1.dust\").toString();\n\n// a string containing the compiled tmpl1.dust, tmpl2.dust and tmpl3.dust files, all registered to the `dust` object.\nvar compiled = dust.compile(contents,\"/path/to/tmpl1.dust\");\n\n/**\n * It's also possible to compile recursively with multiple entry templates by\n * making use of the optional third parameter to the `dust.compileMap` method:\n */\nvar compiledMap = {};\ndust.compileMap(entry1Contents,entry1FilePath,compiledMap);\ndust.compileMap(entry2Contents,entry2FilePath,compiledMap);\nvar compiled = dust.compiledMapToString(compiledMap);\n```\n\nUsing the compiled templates (e.g. in the browser):\n\n```html\n<script src=\"path/to/dust.js\"></script>\n<script src=\"path/to/compiled.js\"></script>\n<script>\n\tdust.render(\"tmpl1.dust\",{},function(err,out){\n\t\t// `out` is '<p>My name is Bob Smith</p>'\n\t});\n</script>\n```\n\nBy default, partials are registered relative to the directory of the entry template. This means the entry template is registered under its file name.\n\nOther templates compiled as part of the recursive process may also be accessed relative to the entry template's directory:\n\n```javascript\ndust.render(\"../foo/tmpl2.dust\",{},function(err,out){\n\t// `out` is 'Bob Smith'\n});\ndust.render(\"../foo/tmpl3.dust\",{},function(err,out){\n\t// `out` is 'Smith'\n});\n```\n\nYou can disable the recursive compilation at any time by calling `dust.setRecursiveCompilation(false)`.\n\nEnable it again by calling `dust.setRecursiveCompilation(true)`.\n\n## Tests [![Build Status](https://travis-ci.org/theakman2/node-modules-dustjs-recursivenodecompiler.png?branch=master)](https://travis-ci.org/theakman2/node-modules-dustjs-recursivenodecompiler)\n\n\t$ npm test","maintainers":[{"name":"theakman2","email":"theakman2@hotmail.com"}],"time":{"modified":"2022-06-16T02:02:36.123Z","created":"2014-02-13T13:51:39.654Z","0.0.2":"2014-02-13T13:51:41.487Z","0.0.3":"2014-02-13T14:10:13.768Z","0.0.4":"2014-02-13T15:02:07.223Z","0.1.1":"2014-02-15T13:18:12.293Z","1.0.0":"2014-03-01T15:50:45.867Z","2.0.0":"2014-03-01T23:39:03.907Z","3.0.0":"2014-03-02T11:16:42.848Z","3.1.0":"2014-12-23T20:53:51.325Z","3.2.0":"2015-03-23T20:59:00.050Z","3.3.0":"2015-10-14T05:50:58.664Z"},"readmeFilename":"README.md","author":{"name":"A Kazim"},"repository":{"type":"git","url":"git://github.com/theakman2/node-modules-dustjs-recursivenodecompiler.git"},"bugs":{"url":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler/issues"},"license":"MIT","homepage":"https://github.com/theakman2/node-modules-dustjs-recursivenodecompiler#readme"}