Giter Club home page Giter Club logo

elcalc logo

elcalc

Cross-platform calculator, built with Electron :electron:

Build Status Code Style Downloads Mentioned in Awesome Calculators


Highlights

  • Supports basic math operations, as well as some scientific functions, such as power, square root, natural logarithm and more!
  • Supports common math constants: π (pi) and e.
  • Blazing fast calculation powered by lazy-loaded WebAssembly ⚡
  • Special keyboard support.

Install

Check out the latest release.


Dev

Screenshot

Prerequisites

Usage

# Install dependencies

 $ npm install

# Run the app

 $ npm start
 
# Run lint & tests

 $ npm test
 
# Build 

 $ npm run dist

File Tree

├── build                 			    # Contains configuration files for Webpack etc.
│   └── start.js            		    # Configuration for `npm start` command
│   └── webpack.app.config.js       # Webpack app config (entry point, output)
│   └── webpack.base.config.js      # Webpack base config (plugins, loaders)
├── crate                			      # Contains Rust code, which will be compiled to WASM.
│   ├── src                			
│   │	└── lib.rs            		    # Main Rust file
│   └── Cargo.lock     				      # Cargo lock file
│   └── Cargo.toml      			      # Cargo configuration file
├── resources                 		  # Contains icons for different operating systems
│   ├── icons                			
│   │	└── 512x512.png               # Icon for other operating systems (like Linux)
│   └── icon.icns       			      # Icon for macOS
│   └── icon.ico      				      # Icon for Windows
├── src                				      # Main application folder
│   ├── stylesheets                			
│   │	└── main.css             	    # Styles
│   └── app.html          			    # Main HTML file
│   └── app.js       				        # Main JS file
│   └── background.js     			    # Electron configuration
├── test                			      # Tests folder
│   └── spec.js       				      # Spectron tests
├── .npmrc                			    # npm config
├── .stylelintrc          			    # stylelint config
├── .travis.yml           			    # Travis CI config
├── babel.config.js       			    # Babel config

Keyboard Support

Key Description
1, 2, 3, 4, 5, 6, 7, 8, 9, 0 Type numbers
+, -, * or x, /, ., ^, e Type symbols
Enter or Return Evaluate equation
Backspace or Delete Clear calculator output

License

MIT

elcalc's Projects

elcalc icon elcalc

➗:electron: Cross-Platform calculator built with Electron!

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.