uawdijnntqw1x1x1
IP : 216.73.216.130
Hostname : it-staging-server
Kernel : Linux it-staging-server 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
forge
/
stage.sksb.smartcon-survey.com
/
node_modules
/
collect.js
/
docs
/
usage.md
/
/
# Usage ### JavaScript ```js // Using require const collect = require('collect.js'); collect(products) .where('price', '>', 299) .sortBy('brand'); ``` ```js // Using import import collect from 'collect.js'; collect(products) .where('price', '>', 299) .sortBy('brand'); ``` ```js // Using the underlying class import { Collection } from 'collect.js'; new Collection(products) .where('price', '>', 299) .sortBy('brand'); ``` ### TypeScript ```ts import collect from 'collect.js'; collect(products) .where('price', '>', 299) .sortBy('brand'); ```
/home/forge/stage.sksb.smartcon-survey.com/node_modules/collect.js/docs/usage.md