nl_tokens: Private : Look at packages file and remove package if present . Stream packages file replace then overwrite original file . packageName - The { String } name of the package
pl_tokens: function ( packageName ) { var oldPackages , newPackages ; oldPackages = fs . readFileSync ( this . <mask> , { encoding : 'utf-8' } ) ; newPackages = oldPackages . replace ( packageName + '\n' , '' ) ; fs . writeFileSync ( this . packages , newPackages ) ; }