.count()

Counts all the plugins installed, and outputs the number.

plugins.count()

Example

const plugins = require('bit/plugins');

const count = plugins.count()

console.log(count)

// Output
/* 
0
*/

Last updated

Was this helpful?