{"_id":"stitchit","_rev":"26-4a0543bd3f0e2e8ca21896fa887fe455","name":"stitchit","description":"compile a directory of js templates into a single script, based on jammit's template compiler","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.0":{"author":{"name":"tedsuo"},"name":"stitchit","description":"compile a directory of js templates into a single script, based on jammit's template compiler","version":"0.0.0","repository":{"url":""},"main":"stitchit.js","scripts":{"test":"make test"},"dependencies":{"underscore":"*","walk":"*"},"devDependencies":{"mocha":"*","chai":"*"},"optionalDependencies":{},"engines":{"node":"*"},"readme":"#Stitchit\n\na simple template compiler, based on Jammit and designed for node.  Use it to take a directory of template files and stitch them together into a single script that can be loaded in the browser.\n\nThe api may change to include a .pipe interface, as well as a way to also load the templates into your node environment. Maybe a commandline interface? Who knows, it's version 0.0.1.\n\n## Installation\n\n    npm install stitchit\n\n## Usage\n\n```javascript\nvar stitchit = require('stitchit');\n\n// the following are optional, except path \nvar options = {\n  path: '/some/path/to/templates',\n  namespace: 'JST',\n  compiler: '_.template',\n  extension: 'jst'\n}\n\n// if you are fine with all the defaults, just pass in the path as a string\noptions = '/some/path/to/templates';\n\n// stitchit creates a string you can serve directly to the browser, or write to a file, etc\nstitchit(options,function(err,templates){\n  fs.writeFile('/path/to/compiled/script',templates);\n});\n```\n","_id":"stitchit@0.0.0","dist":{"shasum":"cb9474d808fd9fd07491d3fb5ca53e2dbbea7f86","tarball":"https://registry.npmjs.org/stitchit/-/stitchit-0.0.0.tgz","integrity":"sha512-OYsoQPOIVCAN8dU8mEQeLQuEYEZGRskHKWpjNc1VetblgZ8U21GwuBdvsJtKx+EKj/IMlSqG95CspLsRQQWYZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIxKd9yHhkGIaMnl6u1D/UeAwKwpnWfTGOp0Ya8ZdR9AiAD+t1o43+rjxAQo190EmhQkjNE9G+EYxTKVmAv3H552g=="}]},"maintainers":[{"name":"tedsuo","email":"ted@radicaldesigns.org"}],"directories":{}},"0.0.1":{"author":{"name":"tedsuo"},"name":"stitchit","description":"compile a directory of js templates into a single script, based on jammit's template compiler","version":"0.0.1","repository":{"type":"git","url":"https://github.com/tedsuo/stitchit.git"},"main":"stitchit.js","scripts":{"test":"make test"},"dependencies":{"underscore":"*","walk":"*"},"devDependencies":{"mocha":"*","chai":"*"},"optionalDependencies":{},"engines":{"node":"*"},"readme":"#Stitchit\n\nA simple template compiler, based on Jammit and designed for node.  Use it to take a directory of template files and stitch them together into a single script that can be loaded in the browser.\n\nThe api may change to include a .pipe interface, as well as a way to also load the templates into your node environment. Maybe a commandline interface? Who knows, it's version 0.0.1.\n\n## Installation\n\n    npm install stitchit\n\n## Usage\n\n```javascript\nvar stitchit = require('stitchit');\n\n// the following are optional, except path \nvar options = {\n  path: '/some/path/to/templates',\n  namespace: 'window.JST',\n  compiler: '_.template',\n  extension: 'jst'\n}\n\n// if you are fine with all the defaults, just pass in the path as a string\noptions = '/some/path/to/templates';\n\n// stitchit creates a string you can serve directly to the browser, or write to a file, etc\nstitchit(options,function(err,templates){\n  fs.writeFile('/path/to/compiled/script',templates);\n});\n```\n","_id":"stitchit@0.0.1","dist":{"shasum":"7970e6e6a14a992919e184c120058f6032d9a401","tarball":"https://registry.npmjs.org/stitchit/-/stitchit-0.0.1.tgz","integrity":"sha512-fOw1RQJIUeNiXlzMp3KTCZ9xXl8F//Q9BV9PXuYGylFcgc2yA+ILLNgpiMdDgLUBn7+l0BXHxsulPYH+3eC4kA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAsEOEkGtDKaOuAIf1n/9Fla/O1yuhZALnSKe2pODKT8AiEAuKuDVGWzSDr63JY4wircWtmlEI+bY+QJcO+F4do4iGo="}]},"maintainers":[{"name":"tedsuo","email":"ted@radicaldesigns.org"}],"directories":{}},"0.0.2":{"author":{"name":"tedsuo"},"name":"stitchit","description":"compile a directory of js templates into a single script, based on jammit's template compiler","version":"0.0.2","repository":{"type":"git","url":"https://github.com/tedsuo/stitchit.git"},"main":"stitchit.js","scripts":{"test":"make test"},"dependencies":{"underscore":"*"},"devDependencies":{"mocha":"*","chai":"*"},"optionalDependencies":{},"engines":{"node":"*"},"readme":"#Stitchit\n\nA simple template compiler, based on Jammit and designed for node.  Use it to take a directory of template files and stitch them together into a single script that can be loaded in the browser.\n\nThe api may change to include a .pipe interface, as well as a way to also load the templates into your node environment. Maybe a commandline interface? Who knows, it's version 0.0.1.\n\n## Installation\n\n    npm install stitchit\n\n## Usage\n\n```javascript\nvar stitchit = require('stitchit');\n\n// the following are optional, except path \nvar options = {\n  path: '/some/path/to/templates',\n  namespace: 'window.JST',\n  compiler: '_.template',\n  extension: 'jst'\n}\n\n// if you are fine with all the defaults, just pass in the path as a string\noptions = '/some/path/to/templates';\n\n// stitchit creates a string you can serve directly to the browser, or write to a file, etc\nstitchit(options,function(err,templates){\n  fs.writeFile('/path/to/compiled/script',templates);\n});\n\n// alternatively, if you'd like everything done syncronously, don't pass a callback\nvar templates = stitchit(options);\n```\n","_id":"stitchit@0.0.2","dist":{"shasum":"972d6317c2f6d3d0145c4e29b8147be2a0d8c207","tarball":"https://registry.npmjs.org/stitchit/-/stitchit-0.0.2.tgz","integrity":"sha512-NXxeVWiNsQ4NTbJYEvC7wlaRKpM4e9khyvg4Xmowl+P5IpELEf18xBSd9G9wzJm7BoIbXfgpPjjOTDs5zm7fYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFi7cGkInfp4M0VaSxOnpOun4jrcH08doMpbZQZ4Zbf+AiEAzhDXI4jWesDJS9H4Q3tf4/0DoTqPMRABXPdxyBrEflU="}]},"maintainers":[{"name":"tedsuo","email":"ted@radicaldesigns.org"}]},"0.0.3":{"author":{"name":"tedsuo"},"name":"stitchit","description":"compile a directory of js templates into a single script, based on jammit's template compiler","version":"0.0.3","repository":{"type":"git","url":"https://github.com/tedsuo/stitchit.git"},"main":"stitchit.js","scripts":{"test":"make test"},"dependencies":{"underscore":"*"},"devDependencies":{"mocha":"*","chai":"*"},"optionalDependencies":{},"engines":{"node":"*"},"readme":"#Stitchit\n\nA simple template compiler, based on Jammit and designed for node.  Use it to take a directory of template files and stitch them together into a single script that can be loaded in the browser.\n\nThe api may change to include a .pipe interface, as well as a way to also load the templates into your node environment. Maybe a commandline interface? Who knows, it's version 0.0.1.\n\n## Installation\n\n    npm install stitchit\n\n## Usage\n\n```javascript\nvar stitchit = require('stitchit');\n\n// the following are optional, except path \nvar options = {\n  path: '/some/path/to/templates',\n  namespace: 'window.JST',\n  compiler: '_.template',\n  extension: 'jst'\n}\n\n// if you are fine with all the defaults, just pass in the path as a string\noptions = '/some/path/to/templates';\n\n// stitchit creates a string you can serve directly to the browser, or write to a file, etc\nstitchit(options,function(err,templates){\n  fs.writeFile('/path/to/compiled/script',templates);\n});\n\n// alternatively, if you'd like everything done syncronously, don't pass a callback\nvar templates = stitchit(options);\n```\n","_id":"stitchit@0.0.3","dist":{"shasum":"c552c7d336a48ba43ae308d6d8d66062ff6ba994","tarball":"https://registry.npmjs.org/stitchit/-/stitchit-0.0.3.tgz","integrity":"sha512-GaUY9lkSSXyfKpjl1ksqiDnPFGOBBuZPBjnbrh+zDbgiEootWbYu5HCTOEagzuNx7FeHHgNUUMTKmPTaHatgCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuIH/IYlWT8t/SMsyK20NmsMa+8IcLItPL0tFyzNopEwIhAOO6xRfVw4ldusSm7L3885MQsT2x0G2NUTGGC+IDAW7Z"}]},"maintainers":[{"name":"tedsuo","email":"ted@radicaldesigns.org"}]},"0.0.4":{"author":{"name":"tedsuo"},"name":"stitchit","description":"compile a directory of js templates into a single script, based on jammit's template compiler","version":"0.0.4","repository":{"type":"git","url":"https://github.com/tedsuo/stitchit.git"},"main":"stitchit.js","scripts":{"test":"make test"},"dependencies":{"underscore":"*","forEachAsync":"~2.2"},"devDependencies":{"mocha":"*","chai":"*"},"optionalDependencies":{},"engines":{"node":"*"},"readme":"#Stitchit\n\nA simple template compiler, based on Jammit and designed for node.  Use it to take a directory of template files and stitch them together into a single script that can be loaded in the browser.\n\nThe api may change to include a .pipe interface, as well as a way to also load the templates into your node environment. Maybe a commandline interface? Who knows, it's version 0.0.1.\n\n## Installation\n\n    npm install stitchit\n\n## Usage\n\n```javascript\nvar stitchit = require('stitchit');\n\n// the following are optional, except path \nvar options = {\n  path: '/some/path/to/templates',\n  namespace: 'window.JST',\n  compiler: '_.template',\n  extension: 'jst'\n}\n\n// if you are fine with all the defaults, just pass in the path as a string\noptions = '/some/path/to/templates';\n\n// stitchit creates a string you can serve directly to the browser, or write to a file, etc\nstitchit(options,function(err,templates){\n  fs.writeFile('/path/to/compiled/script',templates);\n});\n\n// alternatively, if you'd like everything done syncronously, don't pass a callback\nvar templates = stitchit(options);\n```\n","_id":"stitchit@0.0.4","dist":{"shasum":"432e603bad16855e3527e60b81b38ed02f89d4cb","tarball":"https://registry.npmjs.org/stitchit/-/stitchit-0.0.4.tgz","integrity":"sha512-RaAf/Vg1yeobVebjRwc5aHYI8ahRWGBdEhxRTmu3WDkZRMJPMIZxCUPnWMAvNf3Th1TEDq7L9SbIOyFhMbePwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICM+aovhuAVf4bPbBLlH5JpLJyLMDuYlj8ckC7n9cOmZAiB9ZlH8zRFH8xHV64UH2cEVQYkH7JbKZFYTZuNCNQl6yg=="}]},"maintainers":[{"name":"tedsuo","email":"ted@radicaldesigns.org"}]}},"readme":"#Stitchit\n\na simple template compiler, based on Jammit and designed for node.  Use it to take a directory of template files and stitch them together into a single script that can be loaded in the browser.\n\nThe api may change to include a .pipe interface, as well as a way to also load the templates into your node environment. Maybe a commandline interface? Who knows, it's version 0.0.1.\n\n## Installation\n\n    npm install stitchit\n\n## Usage\n\n```javascript\nvar stitchit = require('stitchit');\n\n// the following are optional, except path \nvar options = {\n  path: '/some/path/to/templates',\n  namespace: 'JST',\n  compiler: '_.template',\n  extension: 'jst'\n}\n\n// if you are fine with all the defaults, just pass in the path as a string\noptions = '/some/path/to/templates';\n\n// stitchit creates a string you can serve directly to the browser, or write to a file, etc\nstitchit(options,function(err,templates){\n  fs.writeFile('/path/to/compiled/script',templates);\n});\n```\n","maintainers":[{"name":"tedsuo","email":"ted@radicaldesigns.org"}],"time":{"modified":"2022-06-27T00:26:47.667Z","created":"2012-08-02T01:11:54.217Z","0.0.0":"2012-08-02T01:11:56.363Z","0.0.1":"2012-08-02T14:29:22.729Z","0.0.2":"2012-09-03T23:46:10.961Z","0.0.3":"2012-09-03T23:55:52.346Z","0.0.4":"2012-09-04T00:00:37.976Z"},"author":{"name":"tedsuo"},"repository":{"type":"git","url":"https://github.com/tedsuo/stitchit.git"},"users":{"fgribreau":true}}