Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

core.plugin.extend

ido.ofir6ISC0.0.1

Allows plugins to declaratively extend the core object.

readme

core.plugin.extend

Allows plugins to declaratively extend the core object.

 let core = require('core.skeleton');

 core.plugin(
     require('core.plugin.extend')
 );

 core.plugin({
     name: 'test',
     extend: {
         ok(){ return '√'; }
     }
 });

 core.ok();  // '√'