Socket
Socket
Sign inDemoInstall

@adobe/aem-cs-source-migration-commons

Package Overview
Dependencies
45
Maintainers
19
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @adobe/aem-cs-source-migration-commons

Common helper utilities used by AEM as a Cloud Service code refactoring tools


Version published
Weekly downloads
9
decreased by-10%
Maintainers
19
Created
Weekly downloads
 

Readme

Source

Version Downloads/week

@adobe/aem-cs-source-migration-commons

aem-cs-source-migration-commons library provides common functionalities and helper utilities used by AEM as a Cloud Service Code Refactoring Tools (packages).

Introduction

While the Code Refactoring tools (modules) are created for different purposes, they each end up defining a set of utility methods and functionalities that are similar. To avoid duplicate code or functionalities, common utilities are extracted out into its own module, which can then be included by the tools and used.

This project offers a set of functionalities that can be shared among different code refactoring tool modules:

  • Logging Functionality
  • Summary Report Generation Functionality
  • Common Utility Methods and Constants

Usage

Installing the Utilities

This project uses node and npm. Check your system if you already have these utilities installed.

It can be installed like any other Node.js module.

$ npm install @adobe/aem-cs-source-migration-commons

Adding the Module Requirement

Follow the steps below to add the module to your Node.js project:

  1. Install the module in your project.
  2. Add the require function in the module in the javascript file where it will be consumed:
const Commons = require('@adobe/aem-cs-source-migration-commons');

or by destructuring assignment syntax (as per requirement)

const {    
    logger,
    constants,
    util,
    ConversionStep,
    ConversionOperation,
    SummaryReportWriter} = require('@adobe/aem-cs-source-migration-commons');

Contributing

Contributions are welcomed! Refer to Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. Refer to LICENSE for more information.

FAQs

Last updated on 06 Oct 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc