$ npm install hexo-component-inferno --save
Please refer to this page.
Please refer to tests in the src directory or take a look at hexo-theme-icarus.
src