Git Product home page Git Product logo

is-even's Introduction

Hi there πŸ‘‹

is-even's People

Contributors

brandon-doornbos avatar christtian667 avatar dangeranger avatar df-gss avatar lamergameryt avatar samuelmarina avatar sarangt123 avatar sjm96 avatar swastik1308 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

is-even's Issues

[feature] please add php support?πŸ’–πŸ’–

I am trying to build my own tinder app using PHP to get laid so can someone help how to use this package in PHP?
I LOVE PHP...PHP is wonderful πŸ’–πŸ’–πŸ’–πŸ’–πŸ’–πŸ’–
am working on a revolutionary algorithm through which even smauel miller will get the right swipes.

Android Support

When will this package will run on Android πŸ™‚. Such a useful utility should be implemented in Android also

Passing a string value doesn't work

Since you compare the value using === it fails if you pass it a string representation of the number

I propose you add additional checks for every possible string value as well as number, example:

else if(number === 13) return false;
else if(number === "13") return false;

code not Professional in file index.js

The code supports up to 300K in addition to being long and unnecessary it can be shortened to 6 lines !!
example :

isEven = (n)=>{
    if (n % 2 == 1)
        return false;
    return true;
}

PyPi support

When will this package will run on Python πŸ™‚. Such a useful utility should be implemented in Python also

Language support

Could we please have this available in all languages so developers do not have to be bilingual?

odd

can someone make a version that checks if it's odd, really need this...

[add feature] Check if number 1334054 is even

On my project that i am developing for my client, i need to know if this specific number is even. Currently this library doesn't support that big of a number.

Can you add this please?

I am the company's CTO. And i'm sure i can move some funds around to sponsor this amazing project.

C# support

I need to check if a number 'is even' in my ASP.NET application but can't figure out how to load npm packages into my api controller. How can I achieve this?

ITS NOT WORK

My teacher just called on me and I need to know if this number is even 1

essence of this project

I'm curious of the wisdom behind this great project that solved the overwhelming problem. Is this AI driven?

How do I contribute?

It says the file is too large to display and there's no edit option, pls help.
e

[Feature Request] Support for British English "and"

In British English, numbers above 100, when written out in longhand, typically add the word "and" before the number of tens and units (if applicable). For example:

Number American English British English
8 Eight Eight
68 Sixty-Eight Sixty-Eight
100 One Hundred One Hundred
168 One Hundred Sixty-Eight One Hundred and Sixty-Eight
1000 One Thousand One Thousand
1100 One Thousand One Hundred One Thousand One Hundred
1168 One Thousand One Hundred Sixty-Eight One Thousand One Hundred and Sixty-Eight

Sort of full translation support, it'd be great to at least support other dialects of English!

GitHub-LFS

image

i had written lines upto 499000
but file size exceeds github limit

What do i do now ?

For the glory of Rome!!!!!

Github does not allow pushing(and subsequently creating PRs) of large files to forks of repos where lfs isn't enabled. That said, roman numerals add at least 7,600,000$ to the value of this masterpiece. Patched version can be found here.

[Performance] Check numbers in usage-frequency order

Right now, we check the passed variable against the list of numbers in strict numerical order (i.e. we check 0, then 2, then 4, and so on).

Unfortunately this introduces a performance overhead for many applications. When checking if 100,000 is even, for example, we first have to run through a long list of earlier checks.

We can improve real-world performance by re-ordering the checks to put more-popular numbers above less-popular ones. Certainly, low numbers (up to about the limit of human ages, let's say 120) should come at the top. But anybody who's been on the Internet for more than a couple of seconds knows that some numbers are more-frequently used/more-popular than some of the numbers that preceed them. For example:

  • 69 - based on a brief survey of my search history alone, this number turns up online much more than any other number in the 50s and 60s
  • 100 - people talk about giving "100%" all the time; it's probably a more-frequently-checked number than e.g. boring old 73.
  • 420 - I'm not sure I understand why (something to do with skateboards I think?) but this number appears all over the place and should probably be among the first hundred rows to be checked

More research is needed to determine the optimal order, but I'm excited by the possibility of improving performance of this critical library.

Not support chinese

0 = ι›Ά
1 = δΈ€ || ε£Ή
2 = 二 || 贰
3 = δΈ‰ || 叁
4 = ε›› || 肆
5 = δΊ” || 伍
6 = ε…­ || 陆
7 = δΈƒ || ζŸ’
8 = ε…« || 捌
9 = 九 || ηŽ–
10 = 十 || ζ‹Ύ
100 = η™Ύ || δ½°
1000 = 千 || 仟
10000 = δΈ‡
100000000 = δΊΏ

19 = 十九
99 = 九十九
999 = 九百九十九
1009 = 一千離九
1099 = 一千離九十九
1999 = 一千九百九十九

License Disparity

The README says that the software is released under the MIT license, but the npm package lists the license as ISC. Developers could be dangerously mislead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.