معرفی شرکت ها


@humanwhocodes/gitignore-to-minimatch-1.0.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Utility to convert gitignore patterns to minimatch patterns
ویژگی مقدار
سیستم عامل -
نام فایل @humanwhocodes/gitignore-to-minimatch-1.0.2
نام @humanwhocodes/gitignore-to-minimatch
نسخه کتابخانه 1.0.2
نگهدارنده ['nzakas']
ایمیل نگهدارنده ['nicholas@nczconsulting.com']
نویسنده Nicholas C. Zaks
ایمیل نویسنده -
آدرس صفحه اصلی git+https://github.com/humanwhocodes/gitignore-to-minimatch.git
آدرس اینترنتی https://github.com/humanwhocodes/gitignore-to-minimatch#readme
مجوز Apache-2.0
# Gitignore to Minimatch Utility by [Nicholas C. Zakas](https://humanwhocodes.com) If you find this useful, please consider supporting my work with a [donation](https://humanwhocodes.com/donate). ## Description A function that converts a [gitignore](https://git-scm.com/docs/gitignore#_pattern_format) pattern into a [minimatch](https://github.com/isaacs/minimatch) pattern. There are subtle differences between these two formats, and depending on the utilities you're using, you may need one or the other. ## Usage ### Node.js Install using [npm][npm] or [yarn][yarn]: ``` npm install @humanwhocodes/gitignore-to-minimatch --save # or yarn add @humanwhocodes/gitignore-to-minimatch ``` Import into your Node.js project: ```js // CommonJS const { gitignoreToMinimatch } = require("@humanwhocodes/gitignore-to-minimatch"); // ESM import { gitignoreToMinimatch } from "@humanwhocodes/gitignore-to-minimatch"; ``` ### Deno Import into your Deno project: ```js import { gitignoreToMinimatch } from "https://cdn.skypack.dev/@humanwhocodes/gitignore-to-minimatch?dts"; ``` ### Browser It's recommended to import the minified version to save bandwidth: ```js import { gitignoreToMinimatch } from "https://cdn.skypack.dev/@humanwhocodes/gitignore-to-minimatch?min"; ``` However, you can also import the unminified version for debugging purposes: ```js import { gitignoreToMinimatch } from "https://cdn.skypack.dev/@humanwhocodes/gitignore-to-minimatch"; ``` ## API After importing, call `gitignoreToMinimatch` with a string argument, like this: ```js const minimatchPattern = gitignoreToMinimatch("foo"); console.log(minimatchPattern); // "**/foo" ``` ## Developer Setup 1. Fork the repository 2. Clone your fork 3. Run `npm install` to setup dependencies 4. Run `npm test` to run tests ## License Apache 2.0 [npm]: https://npmjs.com/ [yarn]: https://yarnpkg.com/


زبان مورد نیاز

مقدار نام
16.14.0 Npm


نحوه نصب


نصب پکیج tgz @humanwhocodes/gitignore-to-minimatch-1.0.2:

    npm install @humanwhocodes/gitignore-to-minimatch-1.0.2.tgz