1.0.7 • Published 5 months ago
cms_pkg v1.0.7
runme: id: 01HHPC51RK19VXAJJT69JP6255
version: v2.0
Usage
cms_pkg
Modern JavaScript library for content management system (CMS) functionalities.
##Installation
npm install cms_pkg
const cms = require('cms_pkg');
// Example usage:
cms.controller.copy('newFile.txt', 'sourceFile.txt');
cms.controller.edit('editedFile.txt', 'newContent.txt');
cms.controller.delete('fileToDelete.txt');
cms.controller.run('scriptToRun.js');
Functions
copy(newPath, sourcePath)
Copy a file from the source path to a new path.
edit(filePath, newContentPath)
Edit a file by replacing its content with the content from another file, showing the changes made.
delete(filePath)
Delete a file.
run(scriptPath)
Run a Node.js script and display the output and error messages.
License
This project is licensed under the ISC License - see the LICENSE file for details.
Acknowledgments
- Built with passion and dedication.
- Inspired by the need for a simple CMS library in JavaScript.