Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Dec 26, 2023
1 parent 6f5bad8 commit ddbadda
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 5 deletions.
9 changes: 9 additions & 0 deletions base/distances/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
*/
var ns = {};

/**
* @name hammingDistance
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/string/base/distances/hamming}
*/
setReadOnly( ns, 'hammingDistance', require( './../../../base/distances/hamming' ) );

/**
* @name levenshteinDistance
* @memberof ns
Expand Down
72 changes: 72 additions & 0 deletions base/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
*/
var ns = {};

/**
* @name altcase
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/string/base/altcase}
*/
setReadOnly( ns, 'altcase', require( './../../base/altcase' ) );

/**
* @name camelcase
* @memberof ns
Expand Down Expand Up @@ -270,6 +279,33 @@ setReadOnly( ns, 'removeFirstCodePoint', require( './../../base/remove-first-cod
*/
setReadOnly( ns, 'removeFirstGraphemeCluster', require( './../../base/remove-first-grapheme-cluster' ) );

/**
* @name removeLast
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/string/base/remove-last}
*/
setReadOnly( ns, 'removeLast', require( './../../base/remove-last' ) );

/**
* @name removeLastCodePoint
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/string/base/remove-last-code-point}
*/
setReadOnly( ns, 'removeLastCodePoint', require( './../../base/remove-last-code-point' ) );

/**
* @name removeLastGraphemeCluster
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/string/base/remove-last-grapheme-cluster}
*/
setReadOnly( ns, 'removeLastGraphemeCluster', require( './../../base/remove-last-grapheme-cluster' ) );

/**
* @name repeat
* @memberof ns
Expand Down Expand Up @@ -297,6 +333,33 @@ setReadOnly( ns, 'replace', require( './../../base/replace' ) );
*/
setReadOnly( ns, 'replaceBefore', require( './../../base/replace-before' ) );

/**
* @name reverse
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/string/base/reverse}
*/
setReadOnly( ns, 'reverse', require( './../../base/reverse' ) );

/**
* @name reverseCodePoints
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/string/base/reverse-code-points}
*/
setReadOnly( ns, 'reverseCodePoints', require( './../../base/reverse-code-points' ) );

/**
* @name reverseGraphemeClusters
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/string/base/reverse-grapheme-clusters}
*/
setReadOnly( ns, 'reverseGraphemeClusters', require( './../../base/reverse-grapheme-clusters' ) );

/**
* @name rpad
* @memberof ns
Expand Down Expand Up @@ -351,6 +414,15 @@ setReadOnly( ns, 'startsWith', require( './../../base/starts-with' ) );
*/
setReadOnly( ns, 'trim', require( './../../base/trim' ) );

/**
* @name truncateMiddle
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/string/base/truncate-middle}
*/
setReadOnly( ns, 'truncateMiddle', require( './../../base/truncate-middle' ) );

/**
* @name uncapitalize
* @memberof ns
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/index.js.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,15 @@ setReadOnly( string, 'ltrimN', require( './../left-trim-n' ) );
*/
setReadOnly( string, 'lowercase', require( './../lowercase' ) );

/**
* @name nextCodePointIndex
* @memberof string
* @readonly
* @type {Function}
* @see {@link module:@stdlib/string/next-code-point-index}
*/
setReadOnly( string, 'nextCodePointIndex', require( './../next-code-point-index' ) );

/**
* @name nextGraphemeClusterBreak
* @memberof string
Expand Down

0 comments on commit ddbadda

Please sign in to comment.