repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/bundles/anime.esm.min.js
dist/bundles/anime.esm.min.js
/** * Anime.js - ESM minified bundle * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
true
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/bundles/anime.esm.js
dist/bundles/anime.esm.js
/** * Anime.js - ESM bundle * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ // Global types /** * @typedef {Object} DefaultsParams * @property {Number|String} [id] * @property {PercentageKeyframes|DurationKeyframes} [keyframes] * @property {EasingParam} [playbackEase] * @property {Num...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
true
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/index.js
dist/modules/index.js
/** * Anime.js - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { Timer, createTimer } from './timer/timer.js'; export { JSAnimation, animate } from './animation/animation.js'; export { Timeline, createTimeline } from './timeline/timeline.js'; export { Animatable, createAnimatab...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/scope/index.js
dist/modules/scope/index.js
/** * Anime.js - scope - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { Scope, createScope } from './scope.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/scope/scope.js
dist/modules/scope/scope.js
/** * Anime.js - scope - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { doc, win } from '../core/consts.js'; import { globals, scope } from '../core/globals.js'; import { mergeObjects, isFnc } from '../core/helpers.js'; import { parseTargets } from '../core/targets.js'; import...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/draggable/index.js
dist/modules/draggable/index.js
/** * Anime.js - draggable - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { Draggable, createDraggable } from './draggable.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/draggable/draggable.js
dist/modules/draggable/draggable.js
/** * Anime.js - draggable - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { globals, scope } from '../core/globals.js'; import { doc, win, noop, maxValue, compositionTypes } from '../core/consts.js'; import { parseTargets } from '../core/targets.js'; import { isUnd, isObj, isA...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
true
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/easings/index.js
dist/modules/easings/index.js
/** * Anime.js - easings - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { cubicBezier } from './cubic-bezier/index.js'; export { steps } from './steps/index.js'; export { linear } from './linear/index.js'; export { irregular } from './irregular/index.js'; export { Spring, crea...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/easings/none.js
dist/modules/easings/none.js
/** * Anime.js - easings - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ /** * @import { * EasingFunction, * } from '../types/index.js' */ /** @type {EasingFunction} */ const none = t => t; export { none };
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/easings/linear/index.js
dist/modules/easings/linear/index.js
/** * Anime.js - easings - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { isStr, parseNumber, isUnd } from '../../core/helpers.js'; import { none } from '../none.js'; /** * @import { * EasingFunction, * } from '../../types/index.js' */ /** * Without parameters, the lin...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/easings/irregular/index.js
dist/modules/easings/irregular/index.js
/** * Anime.js - easings - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { clamp } from '../../core/helpers.js'; import { linear } from '../linear/index.js'; /** * @import { * EasingFunction, * } from '../../types/index.js' */ /** * Generate random steps * @param {Num...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/easings/cubic-bezier/index.js
dist/modules/easings/cubic-bezier/index.js
/** * Anime.js - easings - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { abs } from '../../core/helpers.js'; import { none } from '../none.js'; /** * @import { * EasingFunction, * } from '../../types/index.js' */ /** * Cubic Bezier solver adapted from https://github.c...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/easings/eases/index.js
dist/modules/easings/eases/index.js
/** * Anime.js - easings - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { eases } from './parser.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/easings/eases/parser.js
dist/modules/easings/eases/parser.js
/** * Anime.js - easings - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { emptyString, minValue } from '../../core/consts.js'; import { pow, sin, sqrt, cos, isStr, stringStartsWith, isFnc, clamp, asin, PI } from '../../core/helpers.js'; import { none } from '../none.js'; /** ...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/easings/spring/index.js
dist/modules/easings/spring/index.js
/** * Anime.js - easings - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { K, minValue, noop } from '../../core/consts.js'; import { globals } from '../../core/globals.js'; import { isUnd, clamp, pow, PI, round, sqrt, abs, exp, cos, sin } from '../../core/helpers.js'; import { ...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/easings/steps/index.js
dist/modules/easings/steps/index.js
/** * Anime.js - easings - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { ceil, floor, clamp } from '../../core/helpers.js'; /** * @import { * EasingFunction, * } from '../../types/index.js' */ /** * Steps ease implementation https://developer.mozilla.org/fr/docs/Web/C...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/utils/index.js
dist/modules/utils/index.js
/** * Anime.js - utils - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { clamp, damp, degToRad, lerp, mapRange, padEnd, padStart, radToDeg, round, roundPad, snap, wrap } from './chainable.js'; export { createSeededRandom, random, randomPick, shuffle } from './random.js'; export...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/utils/target.js
dist/modules/utils/target.js
/** * Anime.js - utils - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { globals } from '../core/globals.js'; import { valueTypes, minValue, compositionTypes } from '../core/consts.js'; import { isUnd, round } from '../core/helpers.js'; import { registerTargets, parseTargets } ...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/utils/time.js
dist/modules/utils/time.js
/** * Anime.js - utils - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { noop } from '../core/consts.js'; import { globals } from '../core/globals.js'; import { isFnc, isUnd } from '../core/helpers.js'; import { Timer } from '../timer/timer.js'; /** * @import { * Callback,...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/utils/stagger.js
dist/modules/utils/stagger.js
/** * Anime.js - utils - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { unitsExecRgx, emptyString } from '../core/consts.js'; import { isUnd, parseNumber, isFnc, abs, floor, sqrt, round, isArr, isNum, isStr, max } from '../core/helpers.js'; import { parseEase } from '../easing...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/utils/number.js
dist/modules/utils/number.js
/** * Anime.js - utils - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { lerp } from '../core/helpers.js'; export { clamp, round, snap } from '../core/helpers.js'; /** * Rounds a number to fixed decimal places * @param {Number|String} v - Value to round * @param {Number} ...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/utils/random.js
dist/modules/utils/random.js
/** * Anime.js - utils - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ /** * Generate a random number between optional min and max (inclusive) and decimal precision * * @callback RandomNumberGenerator * @param {Number} [min=0] - The minimum value (inclusive) * @param {Numbe...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/utils/chainable.js
dist/modules/utils/chainable.js
/** * Anime.js - utils - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { noop } from '../core/consts.js'; import * as number from './number.js'; // Chain-able utilities const numberUtils = number; // Needed to keep the import when bundling const chainables = {}; /** * @cal...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/timer/index.js
dist/modules/timer/index.js
/** * Anime.js - timer - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { Timer, createTimer } from './timer.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/timer/timer.js
dist/modules/timer/timer.js
/** * Anime.js - timer - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { minValue, noop, maxValue, compositionTypes, tickModes } from '../core/consts.js'; import { isFnc, isUnd, now, clampInfinity, clamp, round, forEachChildren, addChild, normalizeTime, floor } from '../core/he...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/events/index.js
dist/modules/events/index.js
/** * Anime.js - events - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { ScrollObserver, onScroll, scrollContainers } from './scroll.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/events/scroll.js
dist/modules/events/scroll.js
/** * Anime.js - events - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { noop, doc, isDomSymbol, relativeValuesExecRgx, win } from '../core/consts.js'; import { scope, globals } from '../core/globals.js'; import { isUnd, isNum, addChild, forEachChildren, round, isStr, isObj, r...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
true
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/core/clock.js
dist/modules/core/clock.js
/** * Anime.js - core - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { K, maxFps, minValue, tickModes } from './consts.js'; import { round } from './helpers.js'; /** * @import { * Tickable, * Tween, * } from '../types/index.js' */ /* * Base class to control framerat...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/core/consts.js
dist/modules/core/consts.js
/** * Anime.js - core - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ // Environments // TODO: Do we need to check if we're running inside a worker ? const isBrowser = typeof window !== 'undefined'; /** @type {Window & {AnimeJS: Array}|null} */ const win = isBrowser ? /** @type {Win...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/core/colors.js
dist/modules/core/colors.js
/** * Anime.js - core - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { rgbExecRgx, rgbaExecRgx, hslExecRgx, hslaExecRgx } from './consts.js'; import { isRgb, isHex, isHsl, isUnd, round } from './helpers.js'; /** * @import { * ColorArray, * } from '../types/index.js' */ ...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/core/transforms.js
dist/modules/core/transforms.js
/** * Anime.js - core - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { transformsSymbol, transformsExecRgx } from './consts.js'; import { isUnd, stringStartsWith } from './helpers.js'; /** * @import { * DOMTarget, * } from '../types/index.js' */ /** * @param {DOMTarget} ...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/core/styles.js
dist/modules/core/styles.js
/** * Anime.js - core - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { tweenTypes, shortTransforms, isDomSymbol, transformsSymbol, transformsFragmentStrings, emptyString } from './consts.js'; import { forEachChildren, isSvg, toLowerCase, isNil } from './helpers.js'; /** * @i...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/core/globals.js
dist/modules/core/globals.js
/** * Anime.js - core - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { isBrowser, win, noop, maxFps, K, compositionTypes, doc } from './consts.js'; /** * @import { * DefaultsParams, * DOMTarget, * } from '../types/index.js' * * @import { * Scope, * } from '../sc...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/core/render.js
dist/modules/core/render.js
/** * Anime.js - core - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { globals } from './globals.js'; import { minValue, tickModes, valueTypes, compositionTypes, tweenTypes, transformsSymbol, transformsFragmentStrings, emptyString } from './consts.js'; import { forEachChildren...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/core/targets.js
dist/modules/core/targets.js
/** * Anime.js - core - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { scope } from './globals.js'; import { isRegisteredTargetSymbol, isDomSymbol, isSvgSymbol, transformsSymbol, isBrowser } from './consts.js'; import { isSvg, isNil, isArr, isStr } from './helpers.js'; /** * ...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/core/helpers.js
dist/modules/core/helpers.js
/** * Anime.js - core - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { isBrowser, maxValue, minValue, hexTestRgx, lowerCaseRgx } from './consts.js'; import { globals } from './globals.js'; /** * @import { * Target, * DOMTarget, * } from '../types/index.js' */ // Stri...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/core/values.js
dist/modules/core/values.js
/** * Anime.js - core - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { tweenTypes, isDomSymbol, isSvgSymbol, validTransforms, shortTransforms, valueTypes, unitsExecRgx, digitWithExponentRgx, proxyTargetSymbol, cssVarPrefix, cssVariableMatchRgx, emptyString } from './consts.js'...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/core/units.js
dist/modules/core/units.js
/** * Anime.js - core - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { valueTypes, doc } from './consts.js'; import { isUnd, PI } from './helpers.js'; const angleUnitsMap = { 'deg': 1, 'rad': 180 / PI, 'turn': 360 }; const convertedValuesCache = {}; /** * @import { * DOMTa...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/timeline/timeline.js
dist/modules/timeline/timeline.js
/** * Anime.js - timeline - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { globals } from '../core/globals.js'; import { minValue, compositionTypes, tickModes } from '../core/consts.js'; import { mergeObjects, isObj, isFnc, isUnd, isStr, normalizeTime, forEachChildren, isNum, ...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/timeline/index.js
dist/modules/timeline/index.js
/** * Anime.js - timeline - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { Timeline, createTimeline } from './timeline.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/timeline/position.js
dist/modules/timeline/position.js
/** * Anime.js - timeline - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { relativeValuesExecRgx, minValue } from '../core/consts.js'; import { isUnd, isNum, stringStartsWith, isNil } from '../core/helpers.js'; import { getRelativeValue } from '../core/values.js'; /** * @imp...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/engine/index.js
dist/modules/engine/index.js
/** * Anime.js - engine - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { engine } from './engine.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/engine/engine.js
dist/modules/engine/engine.js
/** * Anime.js - engine - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { globalVersions, defaults, globals } from '../core/globals.js'; import { isBrowser, doc, tickModes, K } from '../core/consts.js'; import { now, removeChild, forEachChildren } from '../core/helpers.js'; imp...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/text/index.js
dist/modules/text/index.js
/** * Anime.js - text - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { TextSplitter, split, splitText } from './split.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/text/split.js
dist/modules/text/split.js
/** * Anime.js - text - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { isBrowser, doc } from '../core/consts.js'; import { scope } from '../core/globals.js'; import { isArr, isObj, isFnc, isUnd, isStr, isNum } from '../core/helpers.js'; import { getNodeList } from '../core/tar...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/animation/additive.js
dist/modules/animation/additive.js
/** * Anime.js - animation - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { noop, minValue, valueTypes, tickModes } from '../core/consts.js'; import { cloneArray } from '../core/helpers.js'; import { render } from '../core/render.js'; const additive = { animation: null, u...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/animation/composition.js
dist/modules/animation/composition.js
/** * Anime.js - animation - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { minValue, compositionTypes, tweenTypes } from '../core/consts.js'; import { forEachChildren, removeChild, isUnd, addChild, round, cloneArray } from '../core/helpers.js'; import { sanitizePropertyName }...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/animation/index.js
dist/modules/animation/index.js
/** * Anime.js - animation - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { JSAnimation, animate } from './animation.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/animation/animation.js
dist/modules/animation/animation.js
/** * Anime.js - animation - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { K, compositionTypes, valueTypes, minValue, tweenTypes } from '../core/consts.js'; import { mergeObjects, isUnd, isKey, isObj, round, cloneArray, isNil, addChild, forEachChildren, clampInfinity, normali...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/waapi/composition.js
dist/modules/waapi/composition.js
/** * Anime.js - waapi - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { removeChild, addChild } from '../core/helpers.js'; /** * @import { * DOMTarget, * } from '../types/index.js' */ /** * @import { * WAAPIAnimation, * } from '../waapi/waapi.js' */ const WAAPIAni...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/waapi/index.js
dist/modules/waapi/index.js
/** * Anime.js - waapi - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { WAAPIAnimation, waapi } from './waapi.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/waapi/waapi.js
dist/modules/waapi/waapi.js
/** * Anime.js - waapi - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { isNil, isUnd, stringStartsWith, isKey, isObj, isArr, toLowerCase, round, isStr, isFnc, isNum } from '../core/helpers.js'; import { scope, globals } from '../core/globals.js'; import { registerTargets } fro...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/animatable/index.js
dist/modules/animatable/index.js
/** * Anime.js - animatable - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { Animatable, createAnimatable } from './animatable.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/animatable/animatable.js
dist/modules/animatable/animatable.js
/** * Anime.js - animatable - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { compositionTypes, noop } from '../core/consts.js'; import { scope } from '../core/globals.js'; import { isUnd, isKey, stringStartsWith, isObj, mergeObjects, forEachChildren, isStr, isArr } from '../co...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/svg/index.js
dist/modules/svg/index.js
/** * Anime.js - svg - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ export { createMotionPath } from './motionpath.js'; export { createDrawable } from './drawable.js'; export { morphTo } from './morphto.js';
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/svg/morphto.js
dist/modules/svg/morphto.js
/** * Anime.js - svg - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { morphPointsSymbol } from '../core/consts.js'; import { round } from '../core/helpers.js'; import { getPath } from './helpers.js'; /** * @import { * TargetsParam, * FunctionValue * } from '../types/i...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/svg/motionpath.js
dist/modules/svg/motionpath.js
/** * Anime.js - svg - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { isSvgSymbol } from '../core/consts.js'; import { atan2, PI } from '../core/helpers.js'; import { getPath } from './helpers.js'; /** * @import { * TargetsParam, * FunctionValue, * TweenObjectValue,...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/svg/helpers.js
dist/modules/svg/helpers.js
/** * Anime.js - svg - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { isSvg } from '../core/helpers.js'; import { parseTargets } from '../core/targets.js'; /** * @import { * TargetsParam, * } from '../types/index.js' */ /** * @param {TargetsParam} path * @return {SVG...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
juliangarnier/anime
https://github.com/juliangarnier/anime/blob/b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d/dist/modules/svg/drawable.js
dist/modules/svg/drawable.js
/** * Anime.js - svg - ESM * @version v4.2.2 * @license MIT * @copyright 2025 - Julian Garnier */ import { proxyTargetSymbol, K } from '../core/consts.js'; import { isFnc, sqrt } from '../core/helpers.js'; import { parseTargets } from '../core/targets.js'; /** * @import { * TargetsParam, * DrawableSVGGeom...
javascript
MIT
b82b2c7fb54b7fda1d487e3aee885f70d4c1d46d
2026-01-04T14:56:49.711869Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/eslint.config.js
eslint.config.js
import globals from "./server/node_modules/globals/index.js" import eslintRecommended from "./server/node_modules/@eslint/js/src/index.js" import eslintConfigPrettier from "./server/node_modules/eslint-config-prettier/index.js" import prettier from "./server/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/index.js
collector/index.js
process.env.NODE_ENV === "development" ? require("dotenv").config({ path: `.env.${process.env.NODE_ENV}` }) : require("dotenv").config(); require("./utils/logger")(); const express = require("express"); const bodyParser = require("body-parser"); const cors = require("cors"); const path = require("path"); const { A...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processSingleFile/index.js
collector/processSingleFile/index.js
const path = require("path"); const fs = require("fs"); const { WATCH_DIRECTORY, SUPPORTED_FILETYPE_CONVERTERS, } = require("../utils/constants"); const { trashFile, isTextType, normalizePath, isWithin, } = require("../utils/files"); const RESERVED_FILES = ["__HOTDIR__.md"]; /** * Process a single file an...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processSingleFile/convert/asDocx.js
collector/processSingleFile/convert/asDocx.js
const { v4 } = require("uuid"); const { DocxLoader } = require("langchain/document_loaders/fs/docx"); const { createdDate, trashFile, writeToServerDocuments, } = require("../../utils/files"); const { tokenizeString } = require("../../utils/tokenizer"); const { default: slugify } = require("slugify"); async funct...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processSingleFile/convert/asImage.js
collector/processSingleFile/convert/asImage.js
const { v4 } = require("uuid"); const { tokenizeString } = require("../../utils/tokenizer"); const { createdDate, trashFile, writeToServerDocuments, } = require("../../utils/files"); const OCRLoader = require("../../utils/OCRLoader"); const { default: slugify } = require("slugify"); async function asImage({ fu...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processSingleFile/convert/asMbox.js
collector/processSingleFile/convert/asMbox.js
const { v4 } = require("uuid"); const fs = require("fs"); const { mboxParser } = require("mbox-parser"); const { createdDate, trashFile, writeToServerDocuments, } = require("../../utils/files"); const { tokenizeString } = require("../../utils/tokenizer"); const { default: slugify } = require("slugify"); async fu...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processSingleFile/convert/asOfficeMime.js
collector/processSingleFile/convert/asOfficeMime.js
const { v4 } = require("uuid"); const officeParser = require("officeparser"); const { createdDate, trashFile, writeToServerDocuments, } = require("../../utils/files"); const { tokenizeString } = require("../../utils/tokenizer"); const { default: slugify } = require("slugify"); async function asOfficeMime({ ful...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processSingleFile/convert/asXlsx.js
collector/processSingleFile/convert/asXlsx.js
const { v4 } = require("uuid"); const xlsx = require("node-xlsx").default; const path = require("path"); const fs = require("fs"); const { createdDate, trashFile, writeToServerDocuments, documentsFolder, directUploadsFolder, } = require("../../utils/files"); const { tokenizeString } = require("../../utils/tok...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processSingleFile/convert/asAudio.js
collector/processSingleFile/convert/asAudio.js
const { v4 } = require("uuid"); const { createdDate, trashFile, writeToServerDocuments, } = require("../../utils/files"); const { tokenizeString } = require("../../utils/tokenizer"); const { default: slugify } = require("slugify"); const { LocalWhisper } = require("../../utils/WhisperProviders/localWhisper"); con...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processSingleFile/convert/asEPub.js
collector/processSingleFile/convert/asEPub.js
const { v4 } = require("uuid"); const { EPubLoader } = require("langchain/document_loaders/fs/epub"); const { tokenizeString } = require("../../utils/tokenizer"); const { createdDate, trashFile, writeToServerDocuments, } = require("../../utils/files"); const { default: slugify } = require("slugify"); async funct...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processSingleFile/convert/asTxt.js
collector/processSingleFile/convert/asTxt.js
const { v4 } = require("uuid"); const fs = require("fs"); const { tokenizeString } = require("../../utils/tokenizer"); const { createdDate, trashFile, writeToServerDocuments, } = require("../../utils/files"); const { default: slugify } = require("slugify"); async function asTxt({ fullFilePath = "", filename ...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processSingleFile/convert/asPDF/index.js
collector/processSingleFile/convert/asPDF/index.js
const { v4 } = require("uuid"); const { createdDate, trashFile, writeToServerDocuments, } = require("../../../utils/files"); const { tokenizeString } = require("../../../utils/tokenizer"); const { default: slugify } = require("slugify"); const PDFLoader = require("./PDFLoader"); const OCRLoader = require("../../....
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processSingleFile/convert/asPDF/PDFLoader/index.js
collector/processSingleFile/convert/asPDF/PDFLoader/index.js
const fs = require("fs").promises; class PDFLoader { constructor(filePath, { splitPages = true } = {}) { this.filePath = filePath; this.splitPages = splitPages; } async load() { const buffer = await fs.readFile(this.filePath); const { getDocument, version } = await this.getPdfJS(); const pd...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/middleware/httpLogger.js
collector/middleware/httpLogger.js
const httpLogger = ({ enableTimestamps = false }) => (req, res, next) => { // Capture the original res.end to log response status const originalEnd = res.end; res.end = function (chunk, encoding) { // Log the request method, status code, and path const statusColor = res.statusCode >= 400 ? ...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/middleware/verifyIntegrity.js
collector/middleware/verifyIntegrity.js
const { CommunicationKey } = require("../utils/comKey"); const RuntimeSettings = require("../utils/runtimeSettings"); const runtimeSettings = new RuntimeSettings(); function verifyPayloadIntegrity(request, response, next) { const comKey = new CommunicationKey(); if (process.env.NODE_ENV === "development") { co...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/middleware/setDataSigner.js
collector/middleware/setDataSigner.js
const { EncryptionWorker } = require("../utils/EncryptionWorker"); const { CommunicationKey } = require("../utils/comKey"); /** * Express Response Object interface with defined encryptionWorker attached to locals property. * @typedef {import("express").Response & import("express").Response['locals'] & {encryptionWo...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/extensions/index.js
collector/extensions/index.js
const { setDataSigner } = require("../middleware/setDataSigner"); const { verifyPayloadIntegrity } = require("../middleware/verifyIntegrity"); const { resolveRepoLoader, resolveRepoLoaderFunction } = require("../utils/extensions/RepoLoader"); const { reqBody } = require("../utils/http"); const { validURL, validateURL }...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/extensions/resync/index.js
collector/extensions/resync/index.js
const { getLinkText } = require("../../processLink"); /** * Fetches the content of a raw link. Returns the content as a text string of the link in question. * @param {object} data - metadata from document (eg: link) * @param {import("../../middleware/setDataSigner").ResponseWithSigner} response */ async function r...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processLink/index.js
collector/processLink/index.js
const { validURL } = require("../utils/url"); const { scrapeGenericUrl } = require("./convert/generic"); const { validateURL } = require("../utils/url"); /** * Process a link and return the text content. This util will save the link as a document * so it can be used for embedding later. * @param {string} link - The...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processLink/helpers/index.js
collector/processLink/helpers/index.js
const path = require("path"); const { validURL } = require("../../utils/url"); const { processSingleFile } = require("../../processSingleFile"); const { downloadURIToFile } = require("../../utils/downloadURIToFile"); const { ACCEPTED_MIMES } = require("../../utils/constants"); const { validYoutubeVideoUrl } = require("...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/processLink/convert/generic.js
collector/processLink/convert/generic.js
const { v4 } = require("uuid"); const { PuppeteerWebBaseLoader, } = require("langchain/document_loaders/web/puppeteer"); const { writeToServerDocuments } = require("../../utils/files"); const { tokenizeString } = require("../../utils/tokenizer"); const { default: slugify } = require("slugify"); const { returnResult...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/constants.js
collector/utils/constants.js
const WATCH_DIRECTORY = require("path").resolve(__dirname, "../hotdir"); const ACCEPTED_MIMES = { "text/plain": [".txt", ".md", ".org", ".adoc", ".rst"], "text/html": [".html"], "text/csv": [".csv"], "application/json": [".json"], // TODO: Create asDoc.js that works for standard MS Word files. // "applicat...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/OCRLoader/index.js
collector/utils/OCRLoader/index.js
const fs = require("fs"); const os = require("os"); const path = require("path"); const { VALID_LANGUAGE_CODES } = require("./validLangs"); class OCRLoader { /** * The language code(s) to use for the OCR. * @type {string[]} */ language; /** * The cache directory for the OCR. * @type {string} */...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/OCRLoader/validLangs.js
collector/utils/OCRLoader/validLangs.js
/* To get the list of valid language codes - do the following: Open the following URL in your browser: https://tesseract-ocr.github.io/tessdoc/Data-Files-in-different-versions.html Check this element is the proper table tbody with all the codes via console: document.getElementsByTagName('table').item(0).children.item...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/logger/index.js
collector/utils/logger/index.js
const winston = require("winston"); class Logger { logger = console; static _instance; constructor() { if (Logger._instance) return Logger._instance; this.logger = process.env.NODE_ENV === "production" ? this.getWinstonLogger() : console; Logger._instance = this; } getWinstonLogger() { ...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/runtimeSettings/index.js
collector/utils/runtimeSettings/index.js
const { reqBody } = require("../http"); /** * Runtime settings are used to configure the collector per-request. * These settings are persisted across requests, but can be overridden per-request. * * The settings are passed in the request body via `options.runtimeSettings` * which is set in the backend #attachOpti...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/ObsidianVault/index.js
collector/utils/extensions/ObsidianVault/index.js
const { v4 } = require("uuid"); const { default: slugify } = require("slugify"); const path = require("path"); const fs = require("fs"); const { writeToServerDocuments, sanitizeFileName, documentsFolder, } = require("../../files"); function parseObsidianVaultPath(files = []) { const possiblePaths = new Set(); ...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/YoutubeTranscript/index.js
collector/utils/extensions/YoutubeTranscript/index.js
const fs = require("fs"); const path = require("path"); const { default: slugify } = require("slugify"); const { v4 } = require("uuid"); const { writeToServerDocuments, sanitizeFileName, documentsFolder, } = require("../../files"); const { tokenizeString } = require("../../tokenizer"); const { YoutubeLoader } = r...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/YoutubeTranscript/YoutubeLoader/youtube-transcript.js
collector/utils/extensions/YoutubeTranscript/YoutubeLoader/youtube-transcript.js
const { validYoutubeVideoUrl } = require("../../../url"); class YoutubeTranscriptError extends Error { constructor(message) { super(`[YoutubeTranscript] ${message}`); } } /** * Handles fetching and parsing YouTube video transcripts */ class YoutubeTranscript { /** * Encodes a string as a protobuf field...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/YoutubeTranscript/YoutubeLoader/index.js
collector/utils/extensions/YoutubeTranscript/YoutubeLoader/index.js
const { validYoutubeVideoUrl } = require("../../../url"); /* * This is just a custom implementation of the Langchain JS YouTubeLoader class * as the dependency for YoutubeTranscript is quite fickle and its a rat race to keep it up * and instead of waiting for patches we can just bring this simple script in-house an...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/WebsiteDepth/index.js
collector/utils/extensions/WebsiteDepth/index.js
const { v4 } = require("uuid"); const { PuppeteerWebBaseLoader, } = require("langchain/document_loaders/web/puppeteer"); const { default: slugify } = require("slugify"); const { parse } = require("node-html-parser"); const { writeToServerDocuments } = require("../../files"); const { tokenizeString } = require("../../...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/PaperlessNgx/index.js
collector/utils/extensions/PaperlessNgx/index.js
const fs = require("fs"); const path = require("path"); const { default: slugify } = require("slugify"); const { v4 } = require("uuid"); const { writeToServerDocuments, sanitizeFileName, documentsFolder, } = require("../../files"); const { tokenizeString } = require("../../tokenizer"); const { validBaseUrl } = re...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/PaperlessNgx/PaperlessNgxLoader/index.js
collector/utils/extensions/PaperlessNgx/PaperlessNgxLoader/index.js
const { htmlToText } = require("html-to-text"); const pdf = require("pdf-parse"); class PaperlessNgxLoader { constructor({ baseUrl, apiToken }) { this.baseUrl = new URL(baseUrl).origin; this.apiToken = apiToken; this.baseHeaders = { Authorization: `Token ${this.apiToken}`, }; } async load(...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/DrupalWiki/index.js
collector/utils/extensions/DrupalWiki/index.js
/** * Copyright 2024 * * Authors: * - Eugen Mayer (KontextWork) */ const { DrupalWiki } = require("./DrupalWiki"); const { validBaseUrl } = require("../../../utils/http"); async function loadAndStoreSpaces( { baseUrl = null, spaceIds = null, accessToken = null }, response ) { if (!baseUrl) { return { ...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/DrupalWiki/DrupalWiki/index.js
collector/utils/extensions/DrupalWiki/DrupalWiki/index.js
/** * Copyright 2024 * * Authors: * - Eugen Mayer (KontextWork) */ const { htmlToText } = require("html-to-text"); const { tokenizeString } = require("../../../tokenizer"); const { sanitizeFileName, writeToServerDocuments, documentsFolder, } = require("../../../files"); const { default: slugify } = require...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/Confluence/index.js
collector/utils/extensions/Confluence/index.js
const fs = require("fs"); const path = require("path"); const { default: slugify } = require("slugify"); const { v4 } = require("uuid"); const { writeToServerDocuments, sanitizeFileName } = require("../../files"); const { tokenizeString } = require("../../tokenizer"); const { ConfluencePagesLoader } = require("./Conflu...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/Confluence/ConfluenceLoader/index.js
collector/utils/extensions/Confluence/ConfluenceLoader/index.js
/* * This is a custom implementation of the Confluence langchain loader. There was an issue where * code blocks were not being extracted. This is a temporary fix until this issue is resolved.*/ const { htmlToText } = require("html-to-text"); class ConfluencePagesLoader { constructor({ baseUrl, spaceKey, ...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/RepoLoader/index.js
collector/utils/extensions/RepoLoader/index.js
/** * Dynamically load the correct repository loader from a specific platform * by default will return GitHub. * @param {('github'|'gitlab')} platform * @returns {import("./GithubRepo/RepoLoader")|import("./GitlabRepo/RepoLoader")} the repo loader class for provider */ function resolveRepoLoader(platform = "github...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/RepoLoader/GithubRepo/index.js
collector/utils/extensions/RepoLoader/GithubRepo/index.js
const RepoLoader = require("./RepoLoader"); const fs = require("fs"); const path = require("path"); const { default: slugify } = require("slugify"); const { v4 } = require("uuid"); const { writeToServerDocuments } = require("../../../files"); const { tokenizeString } = require("../../../tokenizer"); /** * Load in a G...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/RepoLoader/GithubRepo/RepoLoader/index.js
collector/utils/extensions/RepoLoader/GithubRepo/RepoLoader/index.js
/** * @typedef {Object} RepoLoaderArgs * @property {string} repo - The GitHub repository URL. * @property {string} [branch] - The branch to load from (optional). * @property {string} [accessToken] - GitHub access token for authentication (optional). * @property {string[]} [ignorePaths] - Array of paths to ignore w...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false
Mintplex-Labs/anything-llm
https://github.com/Mintplex-Labs/anything-llm/blob/e287fab56089cf8fcea9ba579a3ecdeca0daa313/collector/utils/extensions/RepoLoader/GitlabRepo/index.js
collector/utils/extensions/RepoLoader/GitlabRepo/index.js
const RepoLoader = require("./RepoLoader"); const fs = require("fs"); const path = require("path"); const { default: slugify } = require("slugify"); const { v4 } = require("uuid"); const { sanitizeFileName, writeToServerDocuments } = require("../../../files"); const { tokenizeString } = require("../../../tokenizer"); ...
javascript
MIT
e287fab56089cf8fcea9ba579a3ecdeca0daa313
2026-01-04T14:57:11.963777Z
false