Coder Social home page Coder Social logo

kedi / pi-finder Goto Github PK

View Code? Open in Web Editor NEW
17.0 1.0 2.0 512 KB

Pi-Finder is a tool that allows you to get the index of a specific integer in the first million digits of Pi Number.

Home Page: https://github.com/atoasty/Pi-Finder/

License: MIT License

JavaScript 77.27% CSS 5.67% HTML 17.06%
pi-number express nodejs node expressapp expressapp-framework tool pi pi-index-finder javascript expressjs expressjs-api express-js

pi-finder's Introduction

Pi Finder

Pi-Finder is a tool that allows you to get the index of a specific integer in the first million digits of Pi Number. The tool is a basic NodeJS Express application which allows you to get information with a single get request. The path of the request is /get/number and the query number is the string that you want tool to find in Pi Number and return you with the index of that number. For an example, if you want to find 1415 on the tool, it would return index as 1 because the first digits of the Pi Number is 3,1415....

The visualized part is rendered as ejs which gives better user experience. If you would like to host it locally, download the code and then you would need:

  • NodeJS & NPM installed.

If you have these packages installed and set, you are free to go. Open up a terminal or a Powershell Prompt and run node app.js. After running that, head over to https://localhost:3000 on your browser and here it is!

Linting

The linting is made by eslint so for future PR's should be formatted with the eslint rules in this repistory. (Idk if anyone has brilliant ideas on PR's or if anyone find bugs but take that into consideration.)

pi-finder's People

Contributors

kedi avatar

Stargazers

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

Watchers

 avatar

Forkers

aypardesu

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.