Skip to content

Commit 1b45fe6

Browse files
committed
Add package to namespace
1 parent 6a50694 commit 1b45fe6

File tree

1 file changed

+9
-0
lines changed
  • lib/node_modules/@stdlib/string/lib

1 file changed

+9
-0
lines changed

lib/node_modules/@stdlib/string/lib/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,15 @@ setReadOnly( string, 'trim', require( '@stdlib/string/trim' ) );
315315
*/
316316
setReadOnly( string, 'truncate', require( '@stdlib/string/truncate' ) );
317317

318+
/**
319+
* @name truncateMiddle
320+
* @memberof string
321+
* @readonly
322+
* @type {Function}
323+
* @see {@link module:@stdlib/string/truncate-middle}
324+
*/
325+
setReadOnly( string, 'truncateMiddle', require( '@stdlib/string/truncate-middle' ) );
326+
318327
/**
319328
* @name uncapitalize
320329
* @memberof string

0 commit comments

Comments
 (0)