New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

random-location

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

random-location

Random coordinates within a circle given a center point and radius

1.0.4
Source
npm
Version published
Weekly downloads
5.3K
-4.31%
Maintainers
1
Weekly downloads
 
Created
Source

random-location

random-location gets you random coordinates within a circle given a center point and radius. It works anywhere JavaScript runs.

travis build codecov coverage version MIT License

Installation

Using npm:

$ npm install --save random-location

Then with a module bundler like webpack, use as you would anything else:

// Using ES6 modules
import randomLocation from 'random-location'

// Using CommonJS modules
var randomLocation = require('random-location')

The UMD build is also available on unpkg:

<script src="https://unpkg.com/random-location/dist/randomLocation.umd.min.js"></script>

Keywords

random

FAQs

Package last updated on 11 Aug 2017

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