ss="octicon octicon-file-text"> filter.js 30f7226d9a first commit лет назад: 2 find.js 30f7226d9a first commit лет назад: 2 findIndex.js 30f7226d9a first commit лет назад: 2 findKey.js 30f7226d9a first commit лет назад: 2 findLast.js 30f7226d9a first commit лет назад: 2 findLastIndex.js 30f7226d9a first commit лет назад: 2 findLastKey.js 30f7226d9a first commit лет назад: 2 first.js 30f7226d9a first commit лет назад: 2 flake.lock 30f7226d9a first commit лет назад: 2 flake.nix 30f7226d9a first commit лет назад: 2 flatMap.js 30f7226d9a first commit лет назад: 2 flatMapDeep.js 30f7226d9a first commit лет назад: 2 flatMapDepth.js 30f7226d9a first commit лет назад: 2 flatten.js 30f7226d9a first commit лет назад: 2 flattenDeep.js 30f7226d9a first commit лет назад: 2 flattenDepth.js 30f7226d9a first commit лет назад: 2 flip.js 30f7226d9a first commit лет назад: 2 floor.js 30f7226d9a first commit лет назад: 2 flow.js 30f7226d9a first commit лет назад: 2 flowRight.js 30f7226d9a first commit лет назад: 2 forEach.js 30f7226d9a first commit лет назад: 2 forEachRight.js 30f7226d9a first commit лет назад: 2 forIn.js 30f7226d9a first commit лет назад: 2 forInRight.js 30f7226d9a first commit лет назад: 2 forOwn.js 30f7226d9a first commit лет назад: 2 forOwnRight.js 30f7226d9a first commit лет назад: 2 fp.js 30f7226d9a first commit лет назад: 2 fromPairs.js 30f7226d9a first commit лет назад: 2 function.js 30f7226d9a first commit лет назад: 2 functions.js 30f7226d9a first commit лет назад: 2 functionsIn.js 30f7226d9a first commit лет назад: 2 get.js 30f7226d9a first commit лет назад: 2 groupBy.js 30f7226d9a first commit лет назад: 2 gt.js 30f7226d9a first commit лет назад: 2 gte.js 30f7226d9a first commit лет назад: 2 has.js 30f7226d9a first commit лет назад: 2 hasIn.js 30f7226d9a first commit лет назад: 2 head.js 30f7226d9a first commit лет назад: 2 identity.js 30f7226d9a first commit лет назад: 2 inRange.js 30f7226d9a first commit лет назад: 2 includes.js 30f7226d9a first commit лет назад: 2 index.js 30f7226d9a first commit лет назад: 2 indexOf.js 30f7226d9a first commit лет назад: 2 initial.js 30f7226d9a first commit лет назад: 2 intersection.js 30f7226d9a first commit лет назад: 2 intersectionBy.js 30f7226d9a first commit лет назад: 2 intersectionWith.js 30f7226d9a first commit лет назад: 2 invert.js 30f7226d9a first commit лет назад: 2 invertBy.js 30f7226d9a first commit лет назад: 2 invoke.js 30f7226d9a first commit лет назад: 2 invokeMap.js 30f7226d9a first commit лет назад: 2 isArguments.js 30f7226d9a first commit лет назад: 2 isArray.js 30f7226d9a first commit лет назад: 2 isArrayBuffer.js 30f7226d9a first commit лет назад: 2 isArrayLike.js 30f7226d9a first commit лет назад: 2 isArrayLikeObject.js 30f7226d9a first commit лет назад: 2 isBoolean.js 30f7226d9a first commit лет назад: 2 isBuffer.js 30f7226d9a first commit лет назад: 2 isDate.js 30f7226d9a first commit лет назад: 2 isElement.js 30f7226d9a first commit лет назад: 2 isEmpty.js 30f7226d9a first commit лет назад: 2 isEqual.js 30f7226d9a first commit лет назад: 2 isEqualWith.js 30f7226d9a first commit лет назад: 2 isError.js 30f7226d9a first commit лет назад: 2 isFinite.js 30f7226d9a first commit лет назад: 2 isFunction.js 30f7226d9a first commit лет назад: 2 isInteger.js 30f7226d9a first commit лет назад: 2 isLength.js 30f7226d9a first commit лет назад: 2 isMap.js 30f7226d9a first commit лет назад: 2 isMatch.js 30f7226d9a first commit лет назад: 2 isMatchWith.js 30f7226d9a first commit лет назад: 2 isNaN.js 30f7226d9a first commit лет назад: 2 isNative.js 30f7226d9a first commit лет назад: 2 isNil.js 30f7226d9a first commit лет назад: 2 isNull.js 30f7226d9a first commit лет назад: 2 isNumber.js 30f7226d9a first commit лет назад: 2 isObject.js 30f7226d9a first commit лет назад: 2 isObjectLike.js 30f7226d9a first commit лет назад: 2 isPlainObject.js 30f7226d9a first commit лет назад: 2 isRegExp.js 30f7226d9a first commit лет назад: 2 isSafeInteger.js 30f7226d9a first commit лет назад: 2 isSet.js 30f7226d9a first commit лет назад: 2 isString.js 30f7226d9a first commit лет назад: 2 isSymbol.js 30f7226d9a first commit лет назад: 2 isTypedArray.js 30f7226d9a first commit лет назад: 2 isUndefined.js 30f7226d9a first commit лет назад: 2 isWeakMap.js 30f7226d9a first commit лет назад: 2 isWeakSet.js 30f7226d9a first commit лет назад: 2 iteratee.js 30f7226d9a first commit лет назад: 2 join.js 30f7226d9a first commit лет назад: 2 kebabCase.js 30f7226d9a first commit лет назад: 2 keyBy.js 30f7226d9a first commit лет назад: 2 keys.js 30f7226d9a first commit лет назад: 2 keysIn.js 30f7226d9a first commit лет назад: 2 lang.js 30f7226d9a first commit лет назад: 2 last.js 30f7226d9a first commit лет назад: 2 lastIndexOf.js 30f7226d9a first commit лет назад: 2 lodash.js 30f7226d9a first commit лет назад: 2 lodash.min.js 30f7226d9a first commit лет назад: 2 lowerCase.js 30f7226d9a first commit лет назад: 2 lowerFirst.js 30f7226d9a first commit лет назад: 2 lt.js 30f7226d9a first commit лет назад: 2 lte.js 30f7226d9a first commit лет назад: 2 map.js 30f7226d9a first commit лет назад: 2 mapKeys.js 30f7226d9a first commit лет назад: 2 mapValues.js 30f7226d9a first commit лет назад: 2 matches.js 30f7226d9a first commit лет назад: 2 matchesProperty.js 30f7226d9a first commit лет назад: 2 math.js 30f7226d9a first commit лет назад: 2 max.js 30f7226d9a first commit лет назад: 2 maxBy.js 30f7226d9a first commit лет назад: 2 mean.js 30f7226d9a first commit лет назад: 2 meanBy.js 30f7226d9a first commit лет назад: 2 memoize.js 30f7226d9a first commit лет назад: 2 merge.js 30f7226d9a first commit лет назад: 2 mergeWith.js 30f7226d9a first commit лет назад: 2 method.js 30f7226d9a first commit лет назад: 2 methodOf.js 30f7226d9a first commit лет назад: 2 min.js 30f7226d9a first commit лет назад: 2 minBy.js 30f7226d9a first commit лет назад: 2 mixin.js 30f7226d9a first commit лет назад: 2 multiply.js 30f7226d9a first commit лет назад: 2 negate.js 30f7226d9a first commit лет назад: 2 next.js 30f7226d9a first commit лет назад: 2 noop.js 30f7226d9a first commit лет назад: 2 now.js 30f7226d9a first commit лет назад: 2 nth.js 30f7226d9a first commit лет назад: 2 nthArg.js 30f7226d9a first commit лет назад: 2 number.js 30f7226d9a first commit лет назад: 2 object.js 30f7226d9a first commit лет назад: 2 omit.js 30f7226d9a first commit лет назад: 2 omitBy.js 30f7226d9a first commit лет назад: 2 once.js 30f7226d9a first commit лет назад: 2 orderBy.js 30f7226d9a first commit лет назад: 2 over.js 30f7226d9a first commit лет назад: 2 overArgs.js 30f7226d9a first commit лет назад: 2 overEvery.js 30f7226d9a first commit лет назад: 2 overSome.js 30f7226d9a first commit лет назад: 2 package.json 30f7226d9a first commit лет назад: 2 pad.js 30f7226d9a first commit лет назад: 2 padEnd.js 30f7226d9a first commit лет назад: 2 padStart.js 30f7226d9a first commit лет назад: 2 parseInt.js 30f7226d9a first commit лет назад: 2 partial.js 30f7226d9a first commit лет назад: 2 partialRight.js 30f7226d9a first commit лет назад: 2 partition.js 30f7226d9a first commit лет назад: 2 pick.js 30f7226d9a first commit лет назад: 2 pickBy.js 30f7226d9a first commit лет назад: 2 plant.js 30f7226d9a first commit лет назад: 2 property.js 30f7226d9a first commit лет назад: 2 propertyOf.js 30f7226d9a first commit лет назад: 2 pull.js 30f7226d9a first commit лет назад: 2 pullAll.js 30f7226d9a first commit лет назад: 2 pullAllBy.js 30f7226d9a first commit лет назад: 2 pullAllWith.js 30f7226d9a first commit лет назад: 2 pullAt.js 30f7226d9a first commit лет назад: 2 random.js 30f7226d9a first commit лет назад: 2 range.js 30f7226d9a first commit лет назад: 2 rangeRight.js 30f7226d9a first commit лет назад: 2 rearg.js 30f7226d9a first commit лет назад: 2 reduce.js 30f7226d9a first commit лет назад: 2 reduceRight.js 30f7226d9a first commit лет назад: 2 reject.js 30f7226d9a first commit лет назад: 2 release.md 30f7226d9a first commit лет назад: 2 remove.js 30f7226d9a first commit лет назад: 2 repeat.js 30f7226d9a first commit лет назад: 2 replace.js 30f7226d9a first commit лет назад: 2 rest.js 30f7226d9a first commit лет назад: 2 result.js 30f7226d9a first commit лет назад: 2 reverse.js 30f7226d9a first commit лет назад: 2 round.js 30f7226d9a first commit лет назад: 2 sample.js 30f7226d9a first commit лет назад: 2 sampleSize.js 30f7226d9a first commit лет назад: 2 seq.js 30f7226d9a first commit лет назад: 2 set.js 30f7226d9a first commit лет назад: 2 setWith.js 30f7226d9a first commit лет назад: 2 shuffle.js 30f7226d9a first commit лет назад: 2 size.js 30f7226d9a first commit лет назад: 2 slice.js 30f7226d9a first commit лет назад: 2 snakeCase.js 30f7226d9a first commit лет назад: 2 some.js 30f7226d9a first commit лет назад: 2 sortBy.js 30f7226d9a first commit лет назад: 2 sortedIndex.js 30f7226d9a first commit лет назад: 2 sortedIndexBy.js 30f7226d9a first commit лет назад: 2 sortedIndexOf.js 30f7226d9a first commit лет назад: 2 sortedLastIndex.js 30f7226d9a first commit лет назад: 2 sortedLastIndexBy.js 30f7226d9a first commit лет назад: 2 sortedLastIndexOf.js 30f7226d9a first commit лет назад: 2 sortedUniq.js 30f7226d9a first commit лет назад: 2 sortedUniqBy.js 30f7226d9a first commit лет назад: 2 split.js 30f7226d9a first commit лет назад: 2 spread.js 30f7226d9a first commit лет назад: 2 startCase.js 30f7226d9a first commit лет назад: 2 startsWith.js 30f7226d9a first commit лет назад: 2 string.js 30f7226d9a first commit лет назад: 2 stubArray.js 30f7226d9a first commit лет назад: 2 stubFalse.js 30f7226d9a first commit лет назад: 2 stubObject.js 30f7226d9a first commit лет назад: 2 stubString.js 30f7226d9a first commit лет назад: 2 stubTrue.js 30f7226d9a first commit лет назад: 2 subtract.js 30f7226d9a first commit лет назад: 2 sum.js 30f7226d9a first commit лет назад: 2 sumBy.js 30f7226d9a first commit лет назад: 2 tail.js 30f7226d9a first commit лет назад: 2 take.js 30f7226d9a first commit лет назад: 2 takeRight.js 30f7226d9a first commit лет назад: 2 takeRightWhile.js 30f7226d9a first commit лет назад: 2 takeWhile.js 30f7226d9a first commit лет назад: 2 tap.js 30f7226d9a first commit лет назад: 2 template.js 30f7226d9a first commit лет назад: 2 templateSettings.js 30f7226d9a first commit лет назад: 2 throttle.js 30f7226d9a first commit лет назад: 2 thru.js 30f7226d9a first commit лет назад: 2 times.js 30f7226d9a first commit лет назад: 2 toArray.js 30f7226d9a first commit лет назад: 2 toFinite.js 30f7226d9a first commit лет назад: 2 toInteger.js 30f7226d9a first commit лет назад: 2 toIterator.js 30f7226d9a first commit лет назад: 2 toJSON.js 30f7226d9a first commit лет назад: 2 toLength.js 30f7226d9a first commit лет назад: 2 toLower.js 30f7226d9a first commit лет назад: 2 toNumber.js 30f7226d9a first commit лет назад: 2 toPairs.js 30f7226d9a first commit лет назад: 2 toPairsIn.js 30f7226d9a first commit лет назад: 2 toPath.js 30f7226d9a first commit лет назад: 2 toPlainObject.js 30f7226d9a first commit лет назад: 2 toSafeInteger.js 30f7226d9a first commit лет назад: 2 toString.js 30f7226d9a first commit лет назад: 2 toUpper.js 30f7226d9a first commit лет назад: 2 transform.js 30f7226d9a first commit лет назад: 2 trim.js 30f7226d9a first commit лет назад: 2 trimEnd.js 30f7226d9a first commit лет назад: 2 trimStart.js 30f7226d9a first commit лет назад: 2 truncate.js 30f7226d9a first commit лет назад: 2 unary.js 30f7226d9a first commit лет назад: 2 unescape.js 30f7226d9a first commit лет назад: 2 union.js 30f7226d9a first commit лет назад: 2 unionBy.js 30f7226d9a first commit лет назад: 2 unionWith.js 30f7226d9a first commit лет назад: 2 uniq.js 30f7226d9a first commit лет назад: 2 uniqBy.js 30f7226d9a first commit лет назад: 2 uniqWith.js 30f7226d9a first commit лет назад: 2 uniqueId.js 30f7226d9a first commit лет назад: 2 unset.js 30f7226d9a first commit лет назад: 2 unzip.js 30f7226d9a first commit лет назад: 2 unzipWith.js 30f7226d9a first commit лет назад: 2 update.js 30f7226d9a first commit лет назад: 2 updateWith.js 30f7226d9a first commit лет назад: 2 upperCase.js 30f7226d9a first commit лет назад: 2 upperFirst.js 30f7226d9a first commit лет назад: 2 util.js 30f7226d9a first commit лет назад: 2 value.js 30f7226d9a first commit лет назад: 2 valueOf.js 30f7226d9a first commit лет назад: 2 values.js 30f7226d9a first commit лет назад: 2 valuesIn.js 30f7226d9a first commit лет назад: 2 without.js 30f7226d9a first commit лет назад: 2 words.js 30f7226d9a first commit лет назад: 2 wrap.js 30f7226d9a first commit лет назад: 2 wrapperAt.js 30f7226d9a first commit лет назад: 2 wrapperChain.js 30f7226d9a first commit лет назад: 2 wrapperLodash.js 30f7226d9a first commit лет назад: 2 wrapperReverse.js 30f7226d9a first commit лет назад: 2 wrapperValue.js 30f7226d9a first commit лет назад: 2 xor.js 30f7226d9a first commit лет назад: 2 xorBy.js 30f7226d9a first commit лет назад: 2 xorWith.js 30f7226d9a first commit лет назад: 2 zip.js 30f7226d9a first commit лет назад: 2 zipObject.js 30f7226d9a first commit лет назад: 2 zipObjectDeep.js 30f7226d9a first commit лет назад: 2 zipWith.js 30f7226d9a first commit лет назад: 2

README.md

lodash v4.17.21

The Lodash library exported as Node.js modules.

Installation

Using npm:

$ npm i -g npm
$ npm i --save lodash

In Node.js:

// Load the full build.
var _ = require('lodash');
// Load the core build.
var _ = require('lodash/core');
// Load the FP build for immutable auto-curried iteratee-first data-last methods.
var fp = require('lodash/fp');

// Load method categories.
var array = require('lodash/array');
var object = require('lodash/fp/object');

// Cherry-pick methods for smaller browserify/rollup/webpack bundles.
var at = require('lodash/at');
var curryN = require('lodash/fp/curryN');

See the package source for more details.

Note:
Install n_ for Lodash use in the Node.js < 6 REPL.

Support

Tested in Chrome 74-75, Firefox 66-67, IE 11, Edge 18, Safari 11-12, & Node.js 8-12.
Automated browser & CI test runs are available.

tum/tmt_learning - Gogs: Simplico Git Service

Brak opisu

Prach Pongpanich 6f337d0a21 install tailwind alpine daisyui 2 lat temu
..
LICENSE 6f337d0a21 install tailwind alpine daisyui 2 lat temu
README.md 6f337d0a21 install tailwind alpine daisyui 2 lat temu
index.js 6f337d0a21 install tailwind alpine daisyui 2 lat temu
package.json 6f337d0a21 install tailwind alpine daisyui 2 lat temu

README.md

glob-parent

NPM version Downloads Build Status Coveralls Status

Extract the non-magic parent path from a glob string.

Usage

var globParent = require('glob-parent');

globParent('path/to/*.js'); // 'path/to'
globParent('/root/path/to/*.js'); // '/root/path/to'
globParent('/*.js'); // '/'
globParent('*.js'); // '.'
globParent('**/*.js'); // '.'
globParent('path/{to,from}'); // 'path'
globParent('path/!(to|from)'); // 'path'
globParent('path/?(to|from)'); // 'path'
globParent('path/+(to|from)'); // 'path'
globParent('path/*(to|from)'); // 'path'
globParent('path/@(to|from)'); // 'path'
globParent('path/**/*'); // 'path'

// if provided a non-glob path, returns the nearest dir
globParent('path/foo/bar.js'); // 'path/foo'
globParent('path/foo/'); // 'path/foo'
globParent('path/foo'); // 'path' (see issue #3 for details)

API

globParent(maybeGlobString, [options])

Takes a string and returns the part of the path before the glob begins. Be aware of Escaping rules and Limitations below.

options

{
  // Disables the automatic conversion of slashes for Windows
  flipBackslashes: true;
}

Escaping

The following characters have special significance in glob patterns and must be escaped if you want them to be treated as regular path characters:

  • ? (question mark) unless used as a path segment alone
  • * (asterisk)
  • | (pipe)
  • ( (opening parenthesis)
  • ) (closing parenthesis)
  • { (opening curly brace)
  • } (closing curly brace)
  • [ (opening bracket)
  • ] (closing bracket)

Example

globParent('foo/[bar]/'); // 'foo'
globParent('foo/\\[bar]/'); // 'foo/[bar]'

Limitations

Braces & Brackets

This library attempts a quick and imperfect method of determining which path parts have glob magic without fully parsing/lexing the pattern. There are some advanced use cases that can trip it up, such as nested braces where the outer pair is escaped and the inner one contains a path separator. If you find yourself in the unlikely circumstance of being affected by this or need to ensure higher-fidelity glob handling in your library, it is recommended that you pre-process your input with expand-braces and/or expand-brackets.

Windows

Backslashes are not valid path separators for globs. If a path with backslashes is provided anyway, for simple cases, glob-parent will replace the path separator for you and return the non-glob parent path (now with forward-slashes, which are still valid as Windows path separators).

This cannot be used in conjunction with escape characters.

// BAD
globParent('C:\\Program Files \\(x86\\)\\*.ext'); // 'C:/Program Files /(x86/)'

// GOOD
globParent('C:/Program Files\\(x86\\)/*.ext'); // 'C:/Program Files (x86)'

If you are using escape characters for a pattern without path parts (i.e. relative to cwd), prefix with ./ to avoid confusing glob-parent.

// BAD
globParent('foo \\[bar]'); // 'foo '
globParent('foo \\[bar]*'); // 'foo '

// GOOD
globParent('./foo \\[bar]'); // 'foo [bar]'
globParent('./foo \\[bar]*'); // '.'

License

ISC