Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/front-web/build/assets/fonts/iran-yekan/MobileFonts/wgdpf7/README.md.tar
Назад
home/freeclou/app.optimyar.com/backend/node_modules/util/README.md 0000664 00000004720 15103633166 0021011 0 ustar 00 # util [](https://travis-ci.org/defunctzombie/node-util) > Node.js's [util][util] module for all engines. This implements the Node.js [`util`][util] module for environments that do not have it, like browsers. ## Install You usually do not have to install `util` yourself. If your code runs in Node.js, `util` is built in. If your code runs in the browser, bundlers like [browserify](https://github.com/browserify/browserify) or [webpack](https://github.com/webpack/webpack) also include the `util` module. But if none of those apply, with npm do: ```shell npm install util ``` ## Usage ```javascript var util = require('util') var EventEmitter = require('events') function MyClass() { EventEmitter.call(this) } util.inherits(MyClass, EventEmitter) ``` ## Browser Support The `util` module uses ES5 features. If you need to support very old browsers like IE8, use a shim like [`es5-shim`](https://www.npmjs.com/package/es5-shim). You need both the shim and the sham versions of `es5-shim`. To use `util.promisify` and `util.callbackify`, Promises must already be available. If you need to support browsers like IE11 that do not support Promises, use a shim. [es6-promise](https://github.com/stefanpenner/es6-promise) is a popular one but there are many others available on npm. ## API See the [Node.js util docs][util]. `util` currently supports the Node 8 LTS API. However, some of the methods are outdated. The `inspect` and `format` methods included in this module are a lot more simple and barebones than the ones in Node.js. ## Contributing PRs are very welcome! The main way to contribute to `util` is by porting features, bugfixes and tests from Node.js. Ideally, code contributions to this module are copy-pasted from Node.js and transpiled to ES5, rather than reimplemented from scratch. Matching the Node.js code as closely as possible makes maintenance simpler when new changes land in Node.js. This module intends to provide exactly the same API as Node.js, so features that are not available in the core `util` module will not be accepted. Feature requests should instead be directed at [nodejs/node](https://github.com/nodejs/node) and will be added to this module once they are implemented in Node.js. If there is a difference in behaviour between Node.js's `util` module and this module, please open an issue! ## License [MIT](./LICENSE) [util]: https://nodejs.org/docs/latest-v8.x/api/util.html home/freeclou/app.optimyar.com/backend/node_modules/renderkid/README.md 0000664 00000006646 15104216506 0022010 0 ustar 00 # RenderKid [](http://travis-ci.org/AriaMinaei/RenderKid) RenderKid allows you to use HTML and CSS to style your CLI output, making it easy to create a beautiful, readable, and consistent look for your nodejs tool. ## Installation Install with npm: ``` $ npm install renderkid ``` ## Usage ```coffeescript RenderKid = require('renderkid') r = new RenderKid() r.style({ "ul": { display: "block" margin: "2 0 2" } "li": { display: "block" marginBottom: "1" } "key": { color: "grey" marginRight: "1" } "value": { color: "bright-white" } }) output = r.render(" <ul> <li> <key>Name:</key> <value>RenderKid</value> </li> <li> <key>Version:</key> <value>0.2</value> </li> <li> <key>Last Update:</key> <value>Jan 2015</value> </li> </ul> ") console.log(output) ```  ## Stylesheet properties ### Display mode Elements can have a `display` of either `inline`, `block`, or `none`: ```coffeescript r.style({ "div": { display: "block" } "span": { display: "inline" # default } "hidden": { display: "none" } }) output = r.render(" <div>This will fill one or more rows.</div> <span>These</span> <span>will</span> <span>be</span> in the same <span>line.</span> <hidden>This won't be displayed.</hidden> ") console.log(output) ```  ### Margin Margins work just like they do in browsers: ```coffeescript r.style({ "li": { display: "block" marginTop: "1" marginRight: "2" marginBottom: "3" marginLeft: "4" # or the shorthand version: "margin": "1 2 3 4" }, "highlight": { display: "inline" marginLeft: "2" marginRight: "2" } }) r.render(" <ul> <li>Item <highlgiht>1</highlight></li> <li>Item <highlgiht>2</highlight></li> <li>Item <highlgiht>3</highlight></li> </ul> ") ``` ### Padding See margins above. Paddings work the same way, only inward. ### Width and Height Block elements can have explicit width and height: ```coffeescript r.style({ "box": { display: "block" "width": "4" "height": "2" } }) r.render("<box>This is a box and some of its text will be truncated.</box>") ``` ### Colors You can set a custom color and background color for each element: ```coffeescript r.style({ "error": { color: "black" background: "red" } }) ``` List of colors currently supported are `black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan`, `white`, `grey`, `bright-red`, `bright-green`, `bright-yellow`, `bright-blue`, `bright-magenta`, `bright-cyan`, `bright-white`. ### Bullet points Block elements can have bullet points on their margins. Let's start with an example: ```coffeescript r.style({ "li": { # To add bullet points to an element, first you # should make some room for the bullet point by # giving your element some margin to the left: marginLeft: "4", # Now we can add a bullet point to our margin: bullet: '"-"' } }) # The four hyphens are there for visual reference r.render(" ---- <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> ---- ") ``` And here is the result: 
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка