UNPKG

rprcli

Version:

Reaper.js is a powerful TypeScript-based framework designed to streamline backend development. It offers built-in database migrations, seeders, and SQL query utilities, making it easy to manage data efficiently. With native support for TSX and JSX renderi

5 lines 211 B
const fs = require("fs"); module.exports = function newMakeScript(name,resource,outputDir){ const file = fs.readFileSync(resource).toString(); fs.writeFileSync(outputDir,file.replace(/{{name}}/g,name)) }