1. @ckeditor/ckeditor5-dev-utils
Utils for CKEditor 5 development tools packages.
@ckeditor/ckeditor5-dev-utils
Package: @ckeditor/ckeditor5-dev-utils
Created by: ckeditor
Last modified: Wed, 24 Apr 2024 10:08:35 GMT
Version: 39.8.0
License: GPL-2.0-or-later
Downloads: 325,726
Repository: https://github.com/ckeditor/ckeditor5-dev

Install

npm install @ckeditor/ckeditor5-dev-utils
yarn add @ckeditor/ckeditor5-dev-utils

CKEditor 5 development utilities library

npm version
CircleCI

Utils for CKEditor 5 development tools packages.

More information about development tools packages can be found at the following URL: https://github.com/ckeditor/ckeditor5-dev.

Available modules

Note: Not all modules exported by this package are covered in this documentation.

Logger

Logger functions with configurable verbosity.

There are three levels of verbosity:

  1. info - all messages will be logged,
  2. warning - warning and errors will be logged,
  3. error - only errors will be logged.

Usage:

 const logger = require( '@ckeditor/ckeditor5-dev-utils' ).logger;

// All messages will be displayed.
const infoLog = logger( 'info' );
infoLog.info( 'Message.' );
infoLog.warning( 'Message.' );
infoLog.error( 'Message.' );

// This First message won't be displayed..
const warningLog = logger( 'warning' );
warningLog.info( 'Message.' );
warningLog.warning( 'Message.' );
warningLog.error( 'Message.' );

// Only the last message will be displayed.
const errorLog = logger( 'error' );
errorLog.info( 'Message.' );
errorLog.warning( 'Message.' );
errorLog.error( 'Message.' );

Changelog

See the CHANGELOG.md file.

License

Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md file.

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin