New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cms_pkg

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

cms_pkg

cms library package build by modern javascript

unpublished
latest
npmnpm
Version
1.0.7
Version published
Maintainers
1
Created
Source

runme: id: 01HHPC51RK19VXAJJT69JP6255 version: v2.0

Usage

cms_pkg

npm version License

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.

FAQs

Package last updated on 15 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts