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

five

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

five

Gives you five

  • 0.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19
increased by137.5%
Maintainers
1
Weekly downloads
 
Created
Source

five.js

travis Code Climate

A library to overcomplicate 5.

Usage

Require the module
var five = require('five');
In the browser
<script type="text/javascript" src="./five.js"></script>
Basic 5
five(); // 5
Addition
five() + five(); // 10
Multiplication
five() * five(); // 25
Division
five() / five(); // 1
Different sorts of 5
five.upHigh() // ⁵
five.downLow() // ₅
five.tooSlow() // 5, with a ~500 millisecond delay
five.roman() // V
5 goes multilingual
five.arabic() // خمسة
five.czech() // pět
five.english() // Five
five.french() // cinq
five.german() // fünf
five.irish() // cúig
five.mongolian() // таван
five.polish() // pięć
five.swedish() // fem
five.thai() // ห้า

Development

The code

All of the logic & heavy lifting is achieved in one self-contained file:

./five.js
Tests
npm test

Keywords

FAQs

Package last updated on 01 Jul 2014

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