Skip to content

Commit 97da3ed

Browse files
committed
Add packages to namespace
1 parent 0aba813 commit 97da3ed

File tree

1 file changed

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

1 file changed

+36
-0
lines changed

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,42 @@ setReadOnly( string, 'startcase', require( '@stdlib/string/startcase' ) );
297297
*/
298298
setReadOnly( string, 'startsWith', require( '@stdlib/string/starts-with' ) );
299299

300+
/**
301+
* @name substringAfter
302+
* @memberof string
303+
* @readonly
304+
* @type {Function}
305+
* @see {@link module:@stdlib/string/substring-after}
306+
*/
307+
setReadOnly( string, 'substringAfter', require( '@stdlib/string/substring-after' ) );
308+
309+
/**
310+
* @name substringAfterLast
311+
* @memberof string
312+
* @readonly
313+
* @type {Function}
314+
* @see {@link module:@stdlib/string/substring-after-last}
315+
*/
316+
setReadOnly( string, 'substringAfterLast', require( '@stdlib/string/substring-after-last' ) );
317+
318+
/**
319+
* @name substringBefore
320+
* @memberof string
321+
* @readonly
322+
* @type {Function}
323+
* @see {@link module:@stdlib/string/substring-before}
324+
*/
325+
setReadOnly( string, 'substringBefore', require( '@stdlib/string/substring-before' ) );
326+
327+
/**
328+
* @name substringBeforeLast
329+
* @memberof string
330+
* @readonly
331+
* @type {Function}
332+
* @see {@link module:@stdlib/string/substring-before-last}
333+
*/
334+
setReadOnly( string, 'substringBeforeLast', require( '@stdlib/string/substring-before-last' ) );
335+
300336
/**
301337
* @name trim
302338
* @memberof string

0 commit comments

Comments
 (0)