# adawat

> Adawat is arabic for tools

Latest version **0.0.4** (published 2017-10-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install adawat
pnpm add adawat
yarn add adawat
bun add adawat
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2017-10-16 |
| First published | 2017-10-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Baseem |
| Maintainers | baseem |
| Keywords | sorting, find, validation |

## Links

- npm: https://www.npmjs.com/package/adawat
- Repository: https://github.com/ba5eem/adawat
- Homepage: https://github.com/ba5eem/adawat#readme
- Issues: https://github.com/ba5eem/adawat/issues
- npm.io page: https://npm.io/package/adawat

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.4 (latest) — 2017-10-16
- 0.0.3 — 2017-10-16
- 0.0.2 — 2017-10-15
- 0.0.1 — 2017-10-12

## README

'Adawat is arabic and translates using google translate to Tools
=========

A small library that brings essential tools that can be used in most web development projects, such as sorting, find, validation, etc. 

Below are translations of the methods from English to Arabic(using Google translate for translation source):
adawat = tools;
farz = sort - quick sort method has been used; 
tajid = find - not yet released;
sahih = true (this is used for validation - our end goal is too receive true) - functionality works, however no special cases developed;
khatia = false - not yet released;
manqi = filter = not yet released;


## Installation

  `npm install adawat`

## Usage

    var farz = require('adawat/farz');

    var unsortedArray = [5, 2, 6, a, 1, 3, 4];
    farz(unsortedArray);
  
  
    Output: [a, 1, 2, 3, 4, 5, 6]; - this has been doing a quick sort method;

    The Farz Method also supports an alphanumeric array - however method is not case insestive - coming soon.


    var sahih = require('adawat/sahih');

    var seed = [{
              name: 'Bruce',
              lastname: 'Wayne',
              alias: 'Batman'},{
              id: "002",
              name: 'Clark',
              alias: 'Superman'}];

    sahih(seed,'nAme', 'bruce');

    Output: "Key: name = Value: Bruce"  

    The Sahih Method was created for validation purposes. If your checking if a larger array containing several thousand objects, this method will return the mathcing pair/s if exists within an array - empty array otherwise .

    The Sahih Method is case insensitive.
  
    var tajid = require('adawat/tajid');
    
    tajid(seed, 'name', 'bruce');

    Output: [[object Object] {
              alias: "Batman",
              lastname: "Wayne",
              name: "Bruce"
              }]

    The tajid Method was created for validation purposes. If your checking if a larger array containing several thousand objects, this method will return the mathcing object if it exists - empty array otherwise.

    The Tajid Method is not case sensitive - discovered issues with lowercase method during testing, working on resolution.


## Tests

  `npm test`

## Contributing

Take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

---
_Source: https://npm.io/package/adawat · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
