CasperSecurity

Current Path : /var/www/hrms.uiet.co.in/node_modules/collect.js/docs/
Upload File :
Current File : /var/www/hrms.uiet.co.in/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');
```
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY