Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/front-web/build/assets/resources/agGrid/readme.md.tar
Назад
home/freeclou/app.optimyar.com/backend/node_modules/cli-boxes/readme.md 0000664 00000003054 15111634621 0022214 0 ustar 00 # cli-boxes [](https://travis-ci.com/github/sindresorhus/cli-boxes) > Boxes for use in the terminal The list of boxes is just a [JSON file](boxes.json) and can be used anywhere. ## Install ``` $ npm install cli-boxes ``` ## Usage ```js const cliBoxes = require('cli-boxes'); console.log(cliBoxes.single); /* { topLeft: '┌', topRight: '┐', bottomRight: '┘', bottomLeft: '└', vertical: '│', horizontal: '─' } */ ``` ## API ### cliBoxes #### `single` ``` ┌────┐ │ │ └────┘ ``` #### `double` ``` ╔════╗ ║ ║ ╚════╝ ``` #### `round` ``` ╭────╮ │ │ ╰────╯ ``` #### `bold` ``` ┏━━━━┓ ┃ ┃ ┗━━━━┛ ``` #### `singleDouble` ``` ╓────╖ ║ ║ ╙────╜ ``` #### `doubleSingle` ``` ╒════╕ │ │ ╘════╛ ``` #### `classic` ``` +----+ | | +----+ ``` ## Related - [boxen](https://github.com/sindresorhus/boxen) - Create boxes in the terminal --- <div align="center"> <b> <a href="https://tidelift.com/subscription/pkg/npm-cli-boxes?utm_source=npm-cli-boxes&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a> </b> <br> <sub> Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies. </sub> </div> home/freeclou/app.optimyar.com/backend/node_modules/koa-ip/readme.md 0000664 00000002561 15112155412 0021506 0 ustar 00 ## koa-ip <a href="https://communityinviter.com/apps/koa-js/koajs" rel="KoaJs Slack Community"></a> > koa-ip is a ip filter middleware for koa, support `whitelist` and `blacklist`. ### Install ```sh $ npm i koa-ip --save or $ yarn add koa-ip ``` ### Usage ```js ip(String|RegExp) ip(Array{String|RegExp}) ip({ whitelist: Array{String|RegExp}, blacklist: Array{String|RegExp}, handler: async (ctx, next) => {}// handle blacklist ip }) ``` ### Examples ```js const Koa = require('koa') const ip = require('koa-ip') const app = new Koa() app.use(ip('192.168.0.*'))// whitelist // app.use(ip(['192.168.0.*', '8.8.8.[0-3]']))// whitelist // app.use(ip({ // whitelist: ['192.168.0.*', '8.8.8.[0-3]'], // blacklist: ['144.144.*'] // })) app.listen(3000) ``` #### blacklist handler ```js const app = new Koa() app.use((ctx, next) => { ctx.request.ip = '127.0.0.1' return next() }) app.use(ip({ blacklist: ['127.0.0.*'], handler: async (ctx, next) => { ctx.status = 403 } })) app.use((ctx, next) => { ctx.status = 200 }) app.listen(3000) ``` **NB**: If missing blacklist handler, default `ctx.status = 403`. More examples see [test](./__tests__/). ### Test ```sh $ npm test (coverage 100%) or $ yarn test (coverage 100%) ``` ### License MIT
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка