You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

nth-root

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nth-root - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+1
-1
package.json
{
"name": "nth-root",
"description": "Get the nth root of a number.",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/jonschlinkert/nth-root",

@@ -6,0 +6,0 @@ "author": {

@@ -20,5 +20,5 @@ # nth-root [![NPM version](https://badge.fury.io/js/nth-root.svg)](http://badge.fury.io/js/nth-root)

```js
nthRoot(16),
nthRoot(16);
//=> '4'
nthRoot(-16),
nthRoot(-16);
//=> '-4'

@@ -30,9 +30,9 @@ ```

```js
nthRoot(-27, 3),
nthRoot(-27, 3);
//=> '-3'
nthRoot(27, 3),
nthRoot(27, 3);
//=> '3'
nthRoot(-8, 3),
nthRoot(-8, 3);
//=> '-2'
nthRoot(8, 3),
nthRoot(8, 3);
//=> '2'

@@ -39,0 +39,0 @@ ```