Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ckeditor/ckeditor5-dev-utils

Package Overview
Dependencies
Maintainers
1
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-dev-utils

Utils for CKEditor 5 dev code (such as Gulp tasks).

  • 2.2.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
111K
increased by38.64%
Maintainers
1
Weekly downloads
 
Created
Source

CKEditor 5 Development Utilities Library

npm version Build Status Test Coverage Code Climate Dependency Status devDependency Status

Utils for CKEditor 5 dev code (such as Gulp tasks). More information about the project can be found at the following url: https://github.com/ckeditor/ckeditor5-dev-utils.

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.' );

Testing

Tests:

npm test

Code coverage:

npm run coverage

License

Licensed under the GPL, LGPL and MPL licenses, at your choice. For full details about the license, please check the LICENSE.md file.

FAQs

Package last updated on 23 Nov 2016

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc