{"_id":"@alwatroos/fgen","_rev":"7-bfadd9eee034a72d566601929ad042e3","time":{"created":"2023-06-06T16:37:45.756Z","1.0.0":"2023-06-06T16:34:57.678Z","modified":"2023-06-07T09:23:05.889Z","1.0.1":"2023-06-06T16:37:45.979Z","1.0.2":"2023-06-07T09:06:45.079Z","1.0.3":"2023-06-07T09:14:47.130Z","1.0.4":"2023-06-07T09:16:50.076Z","1.0.5":"2023-06-07T09:23:05.792Z"},"name":"@alwatroos/fgen","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.1":{"name":"@alwatroos/fgen","version":"1.0.1","author":{"name":"alwatroos"},"repository":{"type":"git","url":"git+https://github.com/alwatroos/fgen.git"},"license":"MIT","main":"dist/index.js","bin":{"fgen":"dist/index.js"},"scripts":{"build":"tsc","build:watch":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"@types/ejs":"^3.1.2","@types/figlet":"^1.5.6","@types/node":"^20.2.5","typescript":"^5.1.3"},"dependencies":{"commander":"^10.0.1","ejs":"^3.1.9","figlet":"^1.6.0"},"gitHead":"add17a433ad0a549ff0f70a9da6e285e09ac725b","description":"File Generator by ALWATROOS","bugs":{"url":"https://github.com/alwatroos/fgen/issues"},"homepage":"https://github.com/alwatroos/fgen#readme","_id":"@alwatroos/fgen@1.0.1","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-MY4nwgZaTiPDjq9+5QonT0dWtfy52QDSMwEf0NluCDFUtJ94H7Imaio6NkBQFtYyWwxByDFVFhemomkBz9phsg==","shasum":"63be6f9882f12a2b656d676ac7e8f3981b09c5f9","tarball":"https://registry.npmjs.org/@alwatroos/fgen/-/fgen-1.0.1.tgz","fileCount":17,"unpackedSize":13114,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFkf369rEXCKblEkW6tMvpd3whqwtdZDpQmBJ9ATftMLAiAClgVEBwnJ1kMapp8TbTWWLQmHXMlDlVTxGCY9K88qaw=="}]},"_npmUser":{"name":"alwatroos","email":"sygnalista-brak0@icloud.com"},"directories":{},"maintainers":[{"name":"alwatroos","email":"sygnalista-brak0@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fgen_1.0.1_1686069465811_0.31481334859240606"},"_hasShrinkwrap":false},"1.0.2":{"name":"@alwatroos/fgen","version":"1.0.2","author":{"name":"alwatroos"},"repository":{"type":"git","url":"git+https://github.com/alwatroos/fgen.git"},"keywords":["file","template","generator","ejs","cli","typescript"],"license":"MIT","main":"dist/index.js","bin":{"fgen":"dist/index.js"},"scripts":{"build":"tsc","build:watch":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"@types/ejs":"^3.1.2","@types/figlet":"^1.5.6","@types/node":"^20.2.5","typescript":"^5.1.3"},"dependencies":{"commander":"^10.0.1","ejs":"^3.1.9","figlet":"^1.6.0"},"gitHead":"9763768bc7841a9866ae406f0d61deaae7569a0a","description":"## **1. What is it for?**","bugs":{"url":"https://github.com/alwatroos/fgen/issues"},"homepage":"https://github.com/alwatroos/fgen#readme","_id":"@alwatroos/fgen@1.0.2","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-CrYBzfmM4jwCu5ssu8vsh/mUKDleePW51j+fT7P79z2bp47EJhD7JqiEluMvaV52/H3uSPqE/1eWwbvZzn3E2A==","shasum":"925d64844bfc45b927252b9308d567afe108559f","tarball":"https://registry.npmjs.org/@alwatroos/fgen/-/fgen-1.0.2.tgz","fileCount":19,"unpackedSize":16587,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDI6+Ccfz40xzdFAAlHjP58Zh9g8bBePmj0RCkSQkNc1AiEA3ZZ105a8TlBiJJZH5WT60SXbVaHl2Eszh1qbrOLlwzA="}]},"_npmUser":{"name":"alwatroos","email":"sygnalista-brak0@icloud.com"},"directories":{},"maintainers":[{"name":"alwatroos","email":"sygnalista-brak0@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fgen_1.0.2_1686128804559_0.6506088761945605"},"_hasShrinkwrap":false},"1.0.3":{"name":"@alwatroos/fgen","version":"1.0.3","author":{"name":"alwatroos"},"repository":{"type":"git","url":"git+https://github.com/alwatroos/fgen.git"},"keywords":["file","template","generator","ejs","cli","typescript"],"license":"MIT","main":"dist/index.js","bin":{"fgen":"dist/index.js"},"scripts":{"build":"tsc","build:watch":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","prepublish":"yarn build"},"devDependencies":{"@types/ejs":"^3.1.2","@types/figlet":"^1.5.6","@types/node":"^20.2.5","typescript":"^5.1.3"},"dependencies":{"commander":"^10.0.1","ejs":"^3.1.9","figlet":"^1.6.0"},"gitHead":"74c4234ee19ec9ee5605cf57ce38d7640dd9f7cd","description":"## **1. What is it for?**","bugs":{"url":"https://github.com/alwatroos/fgen/issues"},"homepage":"https://github.com/alwatroos/fgen#readme","_id":"@alwatroos/fgen@1.0.3","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-nK0aTYNVQuaGJg6Imk5aHNoYb2EBY9C2bh9MDq+PuH/qqvK5RYtI/l6qXbrXOuCk04HiJhysgfMrw0AYYcJBVQ==","shasum":"1134c06a2e2426a60e26250362e61cc7618ac56d","tarball":"https://registry.npmjs.org/@alwatroos/fgen/-/fgen-1.0.3.tgz","fileCount":48,"unpackedSize":43023,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA/DqwlEIq6hPm30Sry7AV0kB6zvtHF3xPsnUWwlJJVBAiEA8z7BgeoVhVCk5wH6w584kZmajLT6MJnSlh6jzhSqwfM="}]},"_npmUser":{"name":"alwatroos","email":"sygnalista-brak0@icloud.com"},"directories":{},"maintainers":[{"name":"alwatroos","email":"sygnalista-brak0@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fgen_1.0.3_1686129286920_0.03291942002248405"},"_hasShrinkwrap":false},"1.0.4":{"name":"@alwatroos/fgen","version":"1.0.4","author":{"name":"alwatroos"},"repository":{"type":"git","url":"git+https://github.com/alwatroos/fgen.git"},"keywords":["file","template","generator","ejs","cli","typescript"],"license":"MIT","main":"dist/index.js","bin":{"fgen":"dist/index.js"},"scripts":{"build":"tsc","build:watch":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","prepublish":"yarn build"},"devDependencies":{"@types/ejs":"^3.1.2","@types/figlet":"^1.5.6","@types/node":"^20.2.5","typescript":"^5.1.3"},"dependencies":{"commander":"^10.0.1","ejs":"^3.1.9","figlet":"^1.6.0"},"gitHead":"ec216ada4ff3a06a9e74e552e6a989069b3b7042","description":"## **1. What is it for?**","bugs":{"url":"https://github.com/alwatroos/fgen/issues"},"homepage":"https://github.com/alwatroos/fgen#readme","_id":"@alwatroos/fgen@1.0.4","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-alHwqFppwabvk0oZblkx0otpc2YjcAKONlPqjLNIbZb8HVYxziduwGKmtsFK52VyUMMreHrWMCv3wuoftSuQqA==","shasum":"19a262ade1e886395f2f3e8864dec6fcb1136afa","tarball":"https://registry.npmjs.org/@alwatroos/fgen/-/fgen-1.0.4.tgz","fileCount":48,"unpackedSize":43023,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFQqSFjWuXHlgn/Gz/aD1BGLdhOhyscUolriYl2QYljoAiAOHNrePzECnzr7J99gwDnx4KY/a7KSvzY+i9/4Z1hLyA=="}]},"_npmUser":{"name":"alwatroos","email":"sygnalista-brak0@icloud.com"},"directories":{},"maintainers":[{"name":"alwatroos","email":"sygnalista-brak0@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fgen_1.0.4_1686129409894_0.637822777521575"},"_hasShrinkwrap":false},"1.0.5":{"name":"@alwatroos/fgen","version":"1.0.5","author":{"name":"alwatroos"},"repository":{"type":"git","url":"git+https://github.com/alwatroos/fgen.git"},"keywords":["file","template","generator","ejs","cli","typescript","javascript","commander","figlet"],"license":"MIT","main":"dist/index.js","bin":{"fgen":"dist/index.js"},"scripts":{"build":"tsc","build:watch":"tsc --watch","test":"echo \"Error: no test specified\" && exit 1","prepublish":"yarn build"},"devDependencies":{"@types/ejs":"^3.1.2","@types/figlet":"^1.5.6","@types/node":"^20.2.5","typescript":"^5.1.3"},"dependencies":{"commander":"^10.0.1","ejs":"^3.1.9","figlet":"^1.6.0"},"gitHead":"ec216ada4ff3a06a9e74e552e6a989069b3b7042","description":"## **1. What is it for?**","bugs":{"url":"https://github.com/alwatroos/fgen/issues"},"homepage":"https://github.com/alwatroos/fgen#readme","_id":"@alwatroos/fgen@1.0.5","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-jhbB6+v86Ocmi02z0AqpPJzIu3vBLhrDYAjl5lUekHSmgRm+h3WLZI7hJmyry1HUyftkH553IeJTnnem9wl7pg==","shasum":"6be065e05332a257d1e4369b3160066bac873e38","tarball":"https://registry.npmjs.org/@alwatroos/fgen/-/fgen-1.0.5.tgz","fileCount":48,"unpackedSize":43100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQ7StOrHHjW2spkfxX6toWmLOhHqIxWcFQsZY++NLpUAiEAjXK8HOeOXGL10knWJ3jxB+Gloyw08ZsnorLwpVrbHIQ="}]},"_npmUser":{"name":"alwatroos","email":"sygnalista-brak0@icloud.com"},"directories":{},"maintainers":[{"name":"alwatroos","email":"sygnalista-brak0@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fgen_1.0.5_1686129785634_0.5705232269412295"},"_hasShrinkwrap":false}},"maintainers":[{"name":"alwatroos","email":"sygnalista-brak0@icloud.com"}],"description":"## **1. What is it for?**","homepage":"https://github.com/alwatroos/fgen#readme","repository":{"type":"git","url":"git+https://github.com/alwatroos/fgen.git"},"author":{"name":"alwatroos"},"bugs":{"url":"https://github.com/alwatroos/fgen/issues"},"license":"MIT","readme":"# **File Generator by ALWATROOS**\n\n## **1. What is it for?**\n\nThis CLI is created for generating files using [`EJS`](https://www.npmjs.com/package/ejs) template engine.<br>\nYou can define your own templates in `templates` directory.<br>\nEach subdirectory in `templates` directory is treated as component template and you can list such components using `fgen -ls` or `fgen --list` commands.<br>\n\n## **2. How it works?**\n\nYou define templates in `templates` directory using [`EJS`](https://www.npmjs.com/package/ejs) markup language and `FGEN` do the rest for you!<br>\nYou can also avoid using default configs and you can create `fgen.config.json` file with your own custom config.<br>\n\n```json\n{\n  \"workDir\": \"[Optional][String] Path to work directory -> default to directory where fgen is used\",\n  \"srcDir\": \"[Optional][String] Path to source directory -> default to 'src'\",\n  \"templateSrc\": \"[Optional][String] Path to template directory -> default to 'templates'\",\n  \"configPath\": \"[Optional][String] Path to configuration file -> default to '$WORK_DIR/fgen.config.json'\",\n  \"debugMode\": \"[Optional][Boolean] Enables/Disables debug mode which writes some more data in console -> default to 'false'\",\n  \"fileNamePattern\": \"[Optional][String] Naming convention for naming files with '_NAME_' variable (possible values -> 'kebab-case', 'camel-case', 'pascal-case') -> default to 'pascal-case'\",\n  \"contentNamePattern\": \"[Optional][String] Naming convention for naming fields in files with 'name' variable (possible values -> 'kebab-case', 'camel-case', 'pascal-case') -> default to 'camel-case'\"\n}\n```\n<br>\n\n## **3. Example usage**\n`fgen -g store -v name=super -v someOtherVariable=someValue` <- this command would generate component from template `store` with passed variables `name` and `someOtherVariable`.<br>\n`name` variable is used for naming things inside templates (for example files -> `_NAME_.ts` would generate `Super.ts`).<br><br>\nIf you want to see all possible commands provided by `fgen` cli then type command `fgen -h` or `fgen --help`.<br>\n## **4. Credentials**\n- [Author's website](https://karolploski.dev)<br>\n- [Author's linkedin](https://pl.linkedin.com/in/karol-ploski-linkdin)\n<br><br>\n\nLibraries used:\n- [EJS](https://www.npmjs.com/package/ejs)\n- [COMMANDER](https://www.npmjs.com/package/commander)\n- [FIGLET](https://www.npmjs.com/package/figlet)","readmeFilename":"README.md","keywords":["file","template","generator","ejs","cli","typescript","javascript","commander","figlet"]}