Skip to content

Commit 6dee165

Browse files
committed
fix: rename packages to use plural context
1 parent 9c3ea43 commit 6dee165

File tree

21 files changed

+37
-37
lines changed

21 files changed

+37
-37
lines changed

lib/node_modules/@stdlib/string/base/reverse-code-point/README.md renamed to lib/node_modules/@stdlib/string/base/reverse-code-points/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# reverseCodePoint
21+
# reverseCodePoints
2222

2323
> Reverse the Unicode code points of a string.
2424
@@ -27,21 +27,21 @@ limitations under the License.
2727
## Usage
2828

2929
```javascript
30-
var reverseCodePoint = require( '@stdlib/string/base/reverse-code-point' );
30+
var reverseCodePoints = require( '@stdlib/string/base/reverse-code-points' );
3131
```
3232

33-
#### reverseCodePoint( str )
33+
#### reverseCodePoints( str )
3434

3535
Reverses the Unicode code points of a string.
3636

3737
```javascript
38-
var out = reverseCodePoint( 'last man standing' );
38+
var out = reverseCodePoints( 'last man standing' );
3939
// returns 'gnidnats nam tsal'
4040

41-
out = reverseCodePoint( 'Hidden Treasures' );
41+
out = reverseCodePoints( 'Hidden Treasures' );
4242
// returns 'serusaerT neddiH'
4343

44-
out = reverseCodePoint( 'foo bar' );
44+
out = reverseCodePoints( 'foo bar' );
4545
// returns 'rab oof'
4646
```
4747

@@ -56,18 +56,18 @@ out = reverseCodePoint( 'foo bar' );
5656
<!-- eslint no-undef: "error" -->
5757

5858
```javascript
59-
var reverseCodePoint = require( '@stdlib/string/base/reverse-code-point' );
59+
var reverseCodePoints = require( '@stdlib/string/base/reverse-code-points' );
6060

61-
var str = reverseCodePoint( 'presidential election' );
61+
var str = reverseCodePoints( 'presidential election' );
6262
// returns 'noitcele laitnediserp'
6363

64-
str = reverseCodePoint( 'JavaScript' );
64+
str = reverseCodePoints( 'JavaScript' );
6565
// returns 'tpircSavaJ'
6666

67-
str = reverseCodePoint( 'The Last of the Mohicans' );
67+
str = reverseCodePoints( 'The Last of the Mohicans' );
6868
// returns 'snacihoM eht fo tsaL ehT'
6969

70-
str = reverseCodePoint( 'अनुच्छेद' );
70+
str = reverseCodePoints( 'अनुच्छेद' );
7171
// returns 'देछ्चुनअ'
7272
```
7373

lib/node_modules/@stdlib/string/base/reverse-code-point/lib/index.js renamed to lib/node_modules/@stdlib/string/base/reverse-code-points/lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
/**
2222
* Reverse the Unicode code points of a string.
2323
*
24-
* @module @stdlib/string/base/reverse-code-point
24+
* @module @stdlib/string/base/reverse-code-points
2525
*
2626
* @example
27-
* var reverse = require( '@stdlib/string/base/reverse-code-point' );
27+
* var reverse = require( '@stdlib/string/base/reverse-code-points' );
2828
*
2929
* var out = reverse( 'last man standing' );
3030
* // returns 'gnidnats nam tsal'

lib/node_modules/@stdlib/string/base/reverse-code-point/package.json renamed to lib/node_modules/@stdlib/string/base/reverse-code-points/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@stdlib/string/base/reverse-code-point",
2+
"name": "@stdlib/string/base/reverse-code-points",
33
"version": "0.0.0",
44
"description": "Reverse the Unicode code points of a string.",
55
"license": "Apache-2.0",

0 commit comments

Comments
 (0)