node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

abp

abp

This repository began as a GitHub fork of adblockplus/abp2blocklist.

const abp = require('abp');
 
abp('./easylistchina.txt', function(error, rules){
  console.log(rules.length);
});
 
co(function * (){
  const rules = yield abp('./easylistchina.txt');
  console.log(rules.length);
});