{
  "package": {
    "name": "isite",
    "entry": "index.js",
    "moduleSystem": "CommonJS",
    "factory": "require('isite')(options)",
    "siteObject": "The mutable application container returned by the factory."
  },
  "sourceMap": {
    "core": ["index.js", "object-options/index.js"],
    "utilities": ["object-options/lib/fn.js", "object-options/lib/prototype.js", "object-options/lib/numbers.js"],
    "events": ["object-options/lib/event.js"],
    "features": ["object-options/lib/features.js"],
    "routing": ["lib/routing.js"],
    "files": ["lib/fsm.js", "lib/data.js"],
    "database": ["lib/mongodb.js", "lib/collection.js"],
    "security": ["lib/security.js"],
    "sessions": ["lib/session.js", "lib/sessions.js"],
    "parser": ["lib/parser.js"],
    "websocket": ["lib/ws.js", "lib/wsClient.js"],
    "apps": ["lib/app.js"],
    "wordsAndVars": ["lib/words.js", "lib/vars.js"],
    "integrations": ["lib/email.js", "lib/integrated.js", "lib/pdf.js", "lib/proxy.js", "lib/eval.js"]
  },
  "api": {
    "lifecycle": [
      "isite(options)",
      "site.run()",
      "site.start()",
      "site.listen()",
      "site.close(wait)",
      "site.reset()",
      "site.require(filePath)",
      "site.cmd(command, callback)"
    ],
    "routing": [
      "site.onREQUEST(method, route, callback)",
      "site.onGET(route, callback)",
      "site.get(route, callback)",
      "site.onPOST(route, callback)",
      "site.post(route, callback)",
      "site.onPUT(route, callback)",
      "site.put(route, callback)",
      "site.onDELETE(route, callback)",
      "site.delete(route, callback)",
      "site.onALL(route, callback)",
      "site.all(route, callback)",
      "site.callRoute(name, req, res)",
      "site.off(routeOrPath)"
    ],
    "extraHttpMethods": [
      "site.onTEST(route, callback)",
      "site.onVIEW(route, callback)",
      "site.onOPTIONS(route, callback)",
      "site.onPATCH(route, callback)",
      "site.onCOPY(route, callback)",
      "site.onHEAD(route, callback)",
      "site.onLINK(route, callback)",
      "site.onUNLINK(route, callback)",
      "site.onPURGE(route, callback)",
      "site.onLOCK(route, callback)",
      "site.onUNLOCK(route, callback)",
      "site.onPROPFIND(route, callback)"
    ],
    "requestHelpers": [
      "req.addFeature(name)",
      "req.hasFeature(name)",
      "req.removeFeature(name)",
      "req.getUserFinger()",
      "req.word(name)",
      "req.cookie(name)",
      "req.cookies(name)"
    ],
    "responseHelpers": [
      "res.set(name, value)",
      "res.status(code)",
      "res.error(code)",
      "res.download(path, name)",
      "res.render(file, data, options)",
      "res.html(file, data, options)",
      "res.txt(name, data)",
      "res.css(name, data)",
      "res.js(name, data)",
      "res.jsonFile(name, data)",
      "res.send(content)",
      "res.htmlContent(content)",
      "res.textContent(text)",
      "res.json(object, time)",
      "res.redirect(url, code)",
      "res.cookie(name, value)"
    ],
    "files": [
      "site.fileStat(path, callback)",
      "site.fileStatSync(path)",
      "site.css(name, callback)",
      "site.xml(name, callback)",
      "site.js(name, callback)",
      "site.json(name, callback)",
      "site.html(name, callback)",
      "site.download(name, req, res)",
      "site.downloadFile(path, req, res)",
      "site.isFileExists(path, callback)",
      "site.isFileExistsSync(path)",
      "site.readFile(path, callback)",
      "site.readFileRaw(path, callback)",
      "site.readFileStream(path)",
      "site.readFiles(paths, callback)",
      "site.readFileSync(path)",
      "site.writeFile(path, data, callback)",
      "site.writeFileSync(path, data, encode, callback)",
      "site.removeFile(path, callback)",
      "site.deleteFile(path, callback)",
      "site.createDir(path, callback)",
      "site.mkDir(path, callback)"
    ],
    "events": [
      "site.on(name, callback)",
      "site.call(name, args, callback)",
      "site.quee(name, args, callback)",
      "site.quee_check(name, fire)"
    ],
    "features": [
      "site.addFeature(name, value)",
      "site.getFeature(name)",
      "site.hasFeature(name)",
      "site.feature(name, value)",
      "site.addfeatures(path)"
    ],
    "varsWordsMasterPages": [
      "site.addVar(name, value)",
      "site.getVar(name)",
      "site.var(name, value)",
      "site.addVars(path)",
      "site.word(obj)",
      "site.words.get(name)",
      "site.words.add(word)",
      "site.words.set(word)",
      "site.words.addList(list)",
      "site.words.addFile(path)",
      "site.words.save()",
      "site.addMasterPage(page)"
    ],
    "apps": [
      "site.addApp(app)",
      "site.getApp(name)",
      "site.connectApp(appOptions)",
      "site.importApp(appPath, name2)",
      "site.importApps(appDir)",
      "site.loadApp(name, name2)",
      "site.loadLocalApp(name, name2)"
    ],
    "collection": [
      "site.connectCollection(option, db)",
      "collection.insertOne(doc, callback)",
      "collection.insert(doc, callback)",
      "collection.add(doc, callback)",
      "collection.addOne(doc, callback)",
      "collection.insertMany(docs, callback)",
      "collection.addMany(docs, callback)",
      "collection.insertAll(docs, callback)",
      "collection.addAll(docs, callback)",
      "collection.findOne(options, callback)",
      "collection.find(options, callback)",
      "collection.get(options, callback)",
      "collection.select(options, callback)",
      "collection.findMany(options, callback)",
      "collection.findAll(options, callback)",
      "collection.getAll(options, callback)",
      "collection.selectMany(options, callback)",
      "collection.updateOne(options, callback)",
      "collection.update(options, callback)",
      "collection.edit(options, callback)",
      "collection.updateMany(options, callback)",
      "collection.updateAll(options, callback)",
      "collection.deleteOne(options, callback)",
      "collection.delete(options, callback)",
      "collection.remove(options, callback)",
      "collection.deleteMany(options, callback)",
      "collection.deleteAll(options, callback)",
      "collection.count(options, callback)",
      "collection.aggregate(pipeline, callback)",
      "collection.createIndex(obj, options, callback)",
      "collection.createUnique(obj, callback)",
      "collection.import(filePath, callback)",
      "collection.export(options, filePath, callback)"
    ],
    "mongodb": [
      "site.mongodb.ObjectID(id)",
      "site.mongodb.connectDB(name, callback)",
      "site.mongodb.connectCollection(options, callback)",
      "site.mongodb.createIndex(options, callback)",
      "site.mongodb.dropIndex(options, callback)",
      "site.mongodb.aggregate(options, callback)",
      "site.mongodb.dropCollection(options, callback)",
      "site.mongodb.insertOne(options, callback)",
      "site.mongodb.insertMany(options, callback)",
      "site.mongodb.findOne(options, callback)",
      "site.mongodb.findMany(options, callback)",
      "site.mongodb.count(options, callback)",
      "site.mongodb.distinct(options, callback)",
      "site.mongodb.updateOne(options, callback)",
      "site.mongodb.updateMany(options, callback)",
      "site.mongodb.deleteOne(options, callback)",
      "site.mongodb.deleteMany(options, callback)",
      "site.backupDB(options, callback)",
      "site.restoreDB(options, callback)"
    ],
    "security": [
      "site.security.addPermissions(list, callback)",
      "site.security.addRole(role, callback)",
      "site.security.updateRole(role, callback)",
      "site.security.deleteRole(role, callback)",
      "site.security.addRoles(list, callback)",
      "site.security.getUsers(options, callback)",
      "site.security.getUser(user, callback)",
      "site.security.isUserExists(user, callback)",
      "site.security.login(user, callback)",
      "site.security.register(user, callback)",
      "site.security.logout(req, res, callback)",
      "site.security.addUser(user, callback)",
      "site.security.updateUser(user, callback)",
      "site.security.deleteUser(user, callback)",
      "site.security.isUserLogin(req, res)",
      "site.security.isUserHasPermission(req, res, permission)",
      "site.security.isUserHasRole(req, res, role)"
    ],
    "sessions": [
      "site.getSession(req, callback)",
      "site.saveSession(session)",
      "site.sessions.attach(req, callback)",
      "site.sessions.save(session)"
    ],
    "websocket": [
      "site.onWS(options, callback)",
      "site.ws.start(options, callback)",
      "site.ws.sendToAll(message)",
      "site.ws.closeAll()",
      "site.ws.wsSupport()"
    ],
    "utilities": [
      "site.copy(obj)",
      "site.toNumber(value)",
      "site.toInt(value)",
      "site.toFloat(value)",
      "site.toMoney(value, float)",
      "site.random(min, max)",
      "site.guid()",
      "site.getRegExp(text, flag)",
      "site.fetchURLContent(options, callback)",
      "site.fetch(url, options)",
      "site.request(url, options)",
      "site.hide(data)",
      "site.show(data)",
      "site.removeRefObject(obj)",
      "site.objectDiff(obj1, obj2)",
      "site.toHtmlTable(obj)",
      "site.typeof(value)",
      "site.escapeRegExp(text)",
      "site.getDate(value)",
      "site.toDate(value)",
      "site.toDateTime(value)",
      "site.fromJson(data, defaultValue)",
      "site.toJson(obj)",
      "site.toBase64(data)",
      "site.fromBase64(data)",
      "site.to123(data)",
      "site.from123(data)",
      "site.getContentType(path)",
      "site.getFileEncode(path)",
      "site.md5(text)"
    ],
    "integrations": [
      "site.sendEmail(mail, callback)",
      "site.sendMail(mail, callback)",
      "site.sendFreeMail(mail, callback)",
      "site.sendSmptMail(mail, callback)",
      "site.checkMailConfig(mail, callback)",
      "site.connectTelegramClient(session, apiId, apiHash, options)",
      "site.telegramInit(token, onNewMessage, polling)",
      "site.newTelegramBot(data, onNewMessage, polling)",
      "site.sendTelegramMessage(token, chatID, message)",
      "site.initFontKit(options, callback)",
      "site.loadPDF(options, callback)",
      "site.startProxy(options)",
      "site.closeProxy(options)"
    ]
  }
}
