__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.216.173: ~ $
'use strict'

module.exports = filter
function filter (data, include, exclude, opts) {
  return typeof data === 'object' &&
         filterWords(data, include, exclude, opts)
}

function getWords (data, opts) {
  return [ data.name ]
    .concat((opts && opts.description) ? data.description : [])
    .concat((data.maintainers || []).map(function (m) {
      return '=' + m.name
    }))
    .concat(data.versions && data.versions.length && data.url && ('<' + data.url + '>'))
    .concat(data.keywords || [])
    .map(function (f) { return f && f.trim && f.trim() })
    .filter(function (f) { return f })
    .join(' ')
    .toLowerCase()
}

function filterWords (data, include, exclude, opts) {
  var words = getWords(data, opts)
  for (var i = 0, l = include.length; i < l; i++) {
    if (!match(words, include[i])) return false
  }
  for (i = 0, l = exclude.length; i < l; i++) {
    if (match(words, exclude[i])) return false
  }
  return true
}

function match (words, pattern) {
  if (pattern.charAt(0) === '/') {
    pattern = pattern.replace(/\/$/, '')
    pattern = new RegExp(pattern.substr(1, pattern.length - 1))
    return words.match(pattern)
  }
  return words.indexOf(pattern) !== -1
}

Filemanager

Name Type Size Permission Actions
all-package-metadata.js File 11.75 KB 0644
all-package-search.js File 1.52 KB 0644
format-package-stream.js File 4.25 KB 0644
package-filter.js File 1.18 KB 0644