# @daniel-kenan/pymethods

> provides python methods and more array methods to make the world easier :-)

Latest version **1.0.0** (published 2022-07-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @daniel-kenan/pymethods
pnpm add @daniel-kenan/pymethods
yarn add @daniel-kenan/pymethods
bun add @daniel-kenan/pymethods
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-07-13 |
| First published | 2022-07-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daniel Kenan Slinda |
| Maintainers | daniel-kenan |
| Keywords | "javascript", "array-methods", "random", "python" |

## Links

- npm: https://www.npmjs.com/package/@daniel-kenan/pymethods
- Repository: https://github.com/Daniel-Kenan/Array-Methods
- Homepage: https://github.com/Daniel-Kenan/Array-Methods#readme
- Issues: https://github.com/Daniel-Kenan/Array-Methods/issues
- npm.io page: https://npm.io/package/@daniel-kenan/pymethods

## Dependencies (1)

- [user](https://npm.io/package/user.md) ^0.0.0

## Recent versions

- 1.0.0 (latest) — 2022-07-13

## README

# Array-Methods
Provides Support and Python methods for Javascript. 

#### let fruits =  ['apple' , 'banana'  , 'cherry'] ; //example


const method = require('array-methods');
const {sample} = method ;


sample(fruits, 2) // returns 2 random items from the list
 
const {shuffle} = method ;

shuffle(fruits) // shuffles the order of the list ;  



const {randInt} =  method

randInt(1 , 6) // returns a random integer inclusive from the start to end ;



const {range} = method ; 

range( 0, 10) // returns a list starting from 0 to 9 . end number is exclusive ;
range( 0 , 100 , 5) // returns a list from 0 to 95 with a pattern of 5 ;

const {reverse} = method ;

reverse(fruit) // reverses the list

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