Skip to content

Commit

Permalink
Update lib with updated import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
will-stone committed Dec 26, 2021
1 parent 043306b commit 567f420
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion lib/isCompactCase.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Determines if input is a string that does not contain whitespaces.
* @example
```ts
import isCompactCase from 'tings/isCompactCase'
import isCompactCase from 'tings/lib/isCompactCase'
isCompactCase('thisiscompact') // true
isCompactCase('this is not compact') // false
Expand Down
2 changes: 1 addition & 1 deletion lib/isCompactCase.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
* Determines if input is a string that does not contain whitespaces.
* @example
```ts
import isCompactCase from 'tings/isCompactCase'
import isCompactCase from 'tings/lib/isCompactCase'
isCompactCase('thisiscompact') // true
isCompactCase('this is not compact') // false
Expand Down
2 changes: 1 addition & 1 deletion lib/isLowerCase.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Determines if input is a string containing no UPPERcase characters.
* @example
```ts
import isLowerCase from 'tings/isLowerCase'
import isLowerCase from 'tings/lib/isLowerCase'
isLowerCase('this is lower') // true
isLowerCase('This is not LOWER') // false
Expand Down
2 changes: 1 addition & 1 deletion lib/isLowerCase.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
* Determines if input is a string containing no UPPERcase characters.
* @example
```ts
import isLowerCase from 'tings/isLowerCase'
import isLowerCase from 'tings/lib/isLowerCase'
isLowerCase('this is lower') // true
isLowerCase('This is not LOWER') // false
Expand Down
2 changes: 1 addition & 1 deletion lib/isUniq.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Will return true for any input that's not an array.
* @example
```ts
import isUniq from 'tings/isUniq'
import isUniq from 'tings/lib/isUniq'
isUniq([1, 2, 3]) // true
isUniq([1, 1, 2]) // false
Expand Down
2 changes: 1 addition & 1 deletion lib/isUniq.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
* Will return true for any input that's not an array.
* @example
```ts
import isUniq from 'tings/isUniq'
import isUniq from 'tings/lib/isUniq'
isUniq([1, 2, 3]) // true
isUniq([1, 1, 2]) // false
Expand Down
2 changes: 1 addition & 1 deletion lib/sleep.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Pauses the current function.
* @example
```ts
import sleep from 'tings/sleep'
import sleep from 'tings/lib/sleep'
await sleep(2000) // sleeps for 2 seconds
```
Expand Down
2 changes: 1 addition & 1 deletion lib/sleep.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const toNumberAlways_1 = __importDefault(require("./toNumberAlways"));
* Pauses the current function.
* @example
```ts
import sleep from 'tings/sleep'
import sleep from 'tings/lib/sleep'
await sleep(2000) // sleeps for 2 seconds
```
Expand Down
2 changes: 1 addition & 1 deletion lib/toCompactCase.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Removes all whitespace characters from a string.
* @example
```ts
import toCompactCase from 'tings/toCompactCase'
import toCompactCase from 'tings/lib/toCompactCase'
toCompactCase('this is text') // thisistext
toCompactCase('someTEXT') // someTEXT
Expand Down
2 changes: 1 addition & 1 deletion lib/toCompactCase.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
* Removes all whitespace characters from a string.
* @example
```ts
import toCompactCase from 'tings/toCompactCase'
import toCompactCase from 'tings/lib/toCompactCase'
toCompactCase('this is text') // thisistext
toCompactCase('someTEXT') // someTEXT
Expand Down
2 changes: 1 addition & 1 deletion lib/toLetters.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Removes all non-alphabetical characters from a string.
* @example
```ts
import toLetters from 'tings/toLetters'
import toLetters from 'tings/lib/toLetters'
toLetters('this is text') // thisistext
toLetters('123-Text!!!') // Text
Expand Down
2 changes: 1 addition & 1 deletion lib/toLetters.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
* Removes all non-alphabetical characters from a string.
* @example
```ts
import toLetters from 'tings/toLetters'
import toLetters from 'tings/lib/toLetters'
toLetters('this is text') // thisistext
toLetters('123-Text!!!') // Text
Expand Down
2 changes: 1 addition & 1 deletion lib/toNumberAlways.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Will return the given input as a number, if it cannot be converted, it will return 0.
* @example
```ts
import toNumberAlways from 'tings/toNumberAlways'
import toNumberAlways from 'tings/lib/toNumberAlways'
toNumberAlways('this is text') // 0
toNumberAlways('3') // 3
Expand Down
2 changes: 1 addition & 1 deletion lib/toNumberAlways.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
* Will return the given input as a number, if it cannot be converted, it will return 0.
* @example
```ts
import toNumberAlways from 'tings/toNumberAlways'
import toNumberAlways from 'tings/lib/toNumberAlways'
toNumberAlways('this is text') // 0
toNumberAlways('3') // 3
Expand Down
2 changes: 1 addition & 1 deletion lib/toOrdinal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* - notANumber -> 0th
* @example
```ts
import toOrdinal from 'tings/toOrdinal'
import toOrdinal from 'tings/lib/toOrdinal'
toOrdinal('this is text') // 0th
toOrdinal('3') // 3rd
Expand Down
2 changes: 1 addition & 1 deletion lib/toOrdinal.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const toNumberAlways_1 = __importDefault(require("./toNumberAlways"));
* - notANumber -> 0th
* @example
```ts
import toOrdinal from 'tings/toOrdinal'
import toOrdinal from 'tings/lib/toOrdinal'
toOrdinal('this is text') // 0th
toOrdinal('3') // 3rd
Expand Down

0 comments on commit 567f420

Please sign in to comment.