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

flip-your-number

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flip-your-number - npm Package Compare versions

Comparing version 0.0.1-beta.3 to 0.0.1-beta.4

1

lib/flipNumber.js

@@ -108,2 +108,3 @@ 'use strict';

clearTimeout(this.updateNumberTimeout);
this.makeStatic.cancel();
}

@@ -110,0 +111,0 @@ }, {

2

package.json
{
"name": "flip-your-number",
"version": "0.0.1-beta.3",
"version": "0.0.1-beta.4",
"description": "flip number",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -1,2 +0,50 @@

# react-simple-count-number
React simple number counting
[![npm version](https://img.shields.io/npm/v/flip-your-number.svg?style=flat-square)](https://www.npmjs.com/package/flip-your-number)
[![npm downloads](https://img.shields.io/npm/dm/flip-your-number.svg?style=flat-square)](https://www.npmjs.com/package/flip-your-number)
[![npm](https://img.shields.io/npm/dt/flip-your-number.svg?style=flat-square)](https://www.npmjs.com/package/flip-your-number)
[![npm](https://img.shields.io/npm/l/flip-your-number.svg?style=flat-square)](https://www.npmjs.com/package/flip-your-number)
> **Make number animation looks sexy** :clap:
Features:
* Flip your nubmer in 3D space
* Super easy to use
## Install
$ yarn add flip-your-number
or
$ npm install flip-your-number -S
## Quick start
import react from 'react';
import FlipNumbers from 'flip-your-number';
export default function SexyComponent(props) {
return <div>
<FlipNumbers
height="12px"
width="12px"
color="red"
background="white"
startAnimation
numbersToDisplay={12345}
/>
</div>;
}
## API
| Prop | Type | Required | Description |
| :-------------------- | :------- | :------: | :------------------------------------------------------------------------------------- |
| `numbers` | string | ✓ | |
| `nonNumberStyle` | string | | Css inline style for not number eg , : . |
| `height` | number | ✓ | Individual number height |
| `width` | number | ✓ | Individual number width |
| `color` | string | ✓ | Number color |
| `background` | string | ✓ | Background color |
| `perspective` | number | | Css 3D transition perspective |
| `durationSeconds` | number | | |
| `delaySeconds` | number | | |
| `startAnimation` | boolean | ✓ | Start the animation |

@@ -63,2 +63,3 @@ // @flow

clearTimeout(this.updateNumberTimeout);
this.makeStatic.cancel();
}

@@ -65,0 +66,0 @@

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