Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

calculateoee

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calculateoee

A simple OEE calculator module for Node.js

  • 0.0.1-b
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

CalculateOEE is a Node.js module that provides a simple way to calculate the Overall Equipment Effectiveness (OEE) of a manufacturing process. OEE is a measure of how effectively a manufacturing operation is utilized and can help identify areas for improvement in terms of productivity, quality, and availability.

Installation To use CalculateOEE in your Node.js project, you can install it via npm:

npm install calculateoee

Usage To use the CalculateOEE module, you can require it in your Node.js project:

const calculateOEE = require('calculateoee');

Once you have required the module, you can use the calculateOEE function to calculate the OEE of your manufacturing process. The function takes in an object with three properties: availability, performance, and quality.

const oee = calculateOEE({ availability: 0.8, performance: 0.9, quality: 0.95 });

The availability, performance, and quality properties represent the percentage of time that the process was available, the percentage of the process that was performed at the expected rate, and the percentage of good parts produced, respectively.

The calculateOEE function returns a decimal value representing the OEE of the manufacturing process. You can convert this decimal to a percentage by multiplying it by 100.

const oeePercentage = oee * 100;

Example

const calculateOEE = require('calculateoee');

const oee = calculateOEE({ availability: 0.8, performance: 0.9, quality: 0.95 });

const oeePercentage = oee * 100;

console.log(OEE: ${oeePercentage}%);

Output:

OEE: 68.4%

Contributing If you have any issues or feature requests, feel free to contact me - harshad@bufferstack.io . Any contributions are welcome!

License CalculateOEE is MIT licensed.

Keywords

FAQs

Package last updated on 17 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc