2
2
< html >
3
3
< head >
4
4
< meta charset ="utf-8 " />
5
- < title > @thebespokepixel/string 1.0.1 | Documentation</ title >
5
+ < title > @thebespokepixel/string 1.0.2 | Documentation</ title >
6
6
< meta name ='description ' content ='Esoteric string formatting '>
7
7
< meta name ="viewport " content ="width=device-width,initial-scale=1 ">
8
8
< link href ="assets/css/ace.min.css " rel ="stylesheet ">
15
15
< div id ='split-left ' class ='overflow-auto fs0 height-viewport-100 sidebar '>
16
16
< div class ='py1 px2 '>
17
17
< h3 class ="m0 no-anchor "> @thebespokepixel/string</ h3 >
18
- < div class ="mb1 "> < code > 1.0.1 </ code > </ div >
18
+ < div class ="mb1 "> < code > 1.0.2 </ code > </ div >
19
19
< input
20
20
placeholder ="Filter "
21
21
id ="filter-input "
@@ -270,7 +270,7 @@ <h3 class='left m0 panel-title' id='constructor'>
270
270
</ h3 >
271
271
272
272
273
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L13-L15 '>
273
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L13-L15 '>
274
274
< span > src/index.js</ span >
275
275
</ a >
276
276
@@ -280,7 +280,7 @@ <h3 class='left m0 panel-title' id='constructor'>
280
280
< p > Contruct a BespokeString instance.</ p >
281
281
282
282
283
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> constructor(str : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ div >
283
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> constructor(content : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ div >
284
284
285
285
286
286
@@ -297,7 +297,7 @@ <h3 class='left m0 panel-title' id='constructor'>
297
297
298
298
< div class ='space-bottom0 '>
299
299
< div >
300
- < span class ='code bold '> str </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
300
+ < span class ='code bold '> content </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
301
301
The string content.
302
302
303
303
</ div >
@@ -338,7 +338,7 @@ <h3 class='left m0 panel-title' id='pad'>
338
338
</ h3 >
339
339
340
340
341
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L51-L55 '>
341
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L51-L55 '>
342
342
< span > src/index.js</ span >
343
343
</ a >
344
344
@@ -425,7 +425,7 @@ <h3 class='left m0 panel-title' id='tosub'>
425
425
</ h3 >
426
426
427
427
428
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L61-L63 '>
428
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L61-L63 '>
429
429
< span > src/index.js</ span >
430
430
</ a >
431
431
@@ -487,7 +487,7 @@ <h3 class='left m0 panel-title' id='tosuper'>
487
487
</ h3 >
488
488
489
489
490
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L69-L71 '>
490
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L69-L71 '>
491
491
< span > src/index.js</ span >
492
492
</ a >
493
493
@@ -549,7 +549,7 @@ <h3 class='left m0 panel-title' id='asemoji'>
549
549
</ h3 >
550
550
551
551
552
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L79-L82 '>
552
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L79-L82 '>
553
553
< span > src/index.js</ span >
554
554
</ a >
555
555
@@ -612,7 +612,7 @@ <h3 class='left m0 panel-title' id='inbox'>
612
612
</ h3 >
613
613
614
614
615
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L89-L106 '>
615
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L89-L106 '>
616
616
< span > src/index.js</ span >
617
617
</ a >
618
618
@@ -689,7 +689,7 @@ <h3 class='left m0 panel-title' id='bespokestring'>
689
689
</ h3 >
690
690
691
691
692
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L122-L124 '>
692
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L122-L124 '>
693
693
< span > src/index.js</ span >
694
694
</ a >
695
695
@@ -699,7 +699,7 @@ <h3 class='left m0 panel-title' id='bespokestring'>
699
699
< p > Helper method for creating a BespokeString instance</ p >
700
700
701
701
702
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> bespokeString(str : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → BespokeString</ div >
702
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> bespokeString(content : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → BespokeString</ div >
703
703
704
704
705
705
@@ -716,7 +716,7 @@ <h3 class='left m0 panel-title' id='bespokestring'>
716
716
717
717
< div class ='space-bottom0 '>
718
718
< div >
719
- < span class ='code bold '> str </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
719
+ < span class ='code bold '> content </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
720
720
String content.
721
721
722
722
</ div >
@@ -765,7 +765,7 @@ <h3 class='left m0 panel-title' id='pad'>
765
765
</ h3 >
766
766
767
767
768
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L133-L135 '>
768
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L133-L135 '>
769
769
< span > src/index.js</ span >
770
770
</ a >
771
771
@@ -775,7 +775,7 @@ <h3 class='left m0 panel-title' id='pad'>
775
775
< p > Helper method for padding a string.</ p >
776
776
777
777
778
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> pad(str : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > , length: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number "> Number</ a > , char: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
778
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> pad(content : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > , length: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number "> Number</ a > , char: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
779
779
780
780
781
781
@@ -792,7 +792,7 @@ <h3 class='left m0 panel-title' id='pad'>
792
792
793
793
< div class ='space-bottom0 '>
794
794
< div >
795
- < span class ='code bold '> str </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
795
+ < span class ='code bold '> content </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
796
796
The string to pad.
797
797
798
798
</ div >
@@ -859,7 +859,7 @@ <h3 class='left m0 panel-title' id='box'>
859
859
</ h3 >
860
860
861
861
862
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L143-L145 '>
862
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L143-L145 '>
863
863
< span > src/index.js</ span >
864
864
</ a >
865
865
@@ -869,7 +869,7 @@ <h3 class='left m0 panel-title' id='box'>
869
869
< p > Helper method for creating a visual box (using boxen)</ p >
870
870
871
871
872
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> box(str : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > , options: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object "> Object</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
872
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> box(content : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > , options: < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object "> Object</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
873
873
874
874
875
875
@@ -886,7 +886,7 @@ <h3 class='left m0 panel-title' id='box'>
886
886
887
887
< div class ='space-bottom0 '>
888
888
< div >
889
- < span class ='code bold '> str </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
889
+ < span class ='code bold '> content </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
890
890
Box content.
891
891
892
892
</ div >
@@ -944,7 +944,7 @@ <h3 class='left m0 panel-title' id='tosubscript'>
944
944
</ h3 >
945
945
946
946
947
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L152-L154 '>
947
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L152-L154 '>
948
948
< span > src/index.js</ span >
949
949
</ a >
950
950
@@ -954,7 +954,7 @@ <h3 class='left m0 panel-title' id='tosubscript'>
954
954
< p > Helper method from creating a simple Unicode subscript representation.</ p >
955
955
956
956
957
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> toSubscript(str : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
957
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> toSubscript(content : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
958
958
959
959
960
960
@@ -971,7 +971,7 @@ <h3 class='left m0 panel-title' id='tosubscript'>
971
971
972
972
< div class ='space-bottom0 '>
973
973
< div >
974
- < span class ='code bold '> str </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
974
+ < span class ='code bold '> content </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
975
975
The string to transform to subscript.
976
976
977
977
</ div >
@@ -1020,7 +1020,7 @@ <h3 class='left m0 panel-title' id='tosuperscript'>
1020
1020
</ h3 >
1021
1021
1022
1022
1023
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L161-L163 '>
1023
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L161-L163 '>
1024
1024
< span > src/index.js</ span >
1025
1025
</ a >
1026
1026
@@ -1030,7 +1030,7 @@ <h3 class='left m0 panel-title' id='tosuperscript'>
1030
1030
< p > Helper method from creating a simple Unicode superscript representation.</ p >
1031
1031
1032
1032
1033
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> toSuperscript(str : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
1033
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> toSuperscript(content : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
1034
1034
1035
1035
1036
1036
@@ -1047,7 +1047,7 @@ <h3 class='left m0 panel-title' id='tosuperscript'>
1047
1047
1048
1048
< div class ='space-bottom0 '>
1049
1049
< div >
1050
- < span class ='code bold '> str </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
1050
+ < span class ='code bold '> content </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
1051
1051
The string to transform to superscript.
1052
1052
1053
1053
</ div >
@@ -1096,7 +1096,7 @@ <h3 class='left m0 panel-title' id='emoji'>
1096
1096
</ h3 >
1097
1097
1098
1098
1099
- < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/a5a3939dfb2834b451a283169aa254bf41522b74 /src/index.js#L170-L172 '>
1099
+ < a class ='pl3 pr1 right rounded github ' href ='https://MarkGriffiths@github.com/thebespokepixel/string/blob/00cfc1e06c816edf38220b2d33572745a8ae653c /src/index.js#L170-L172 '>
1100
1100
< span > src/index.js</ span >
1101
1101
</ a >
1102
1102
@@ -1106,7 +1106,7 @@ <h3 class='left m0 panel-title' id='emoji'>
1106
1106
< p > Helper method from creating a wide Emoji character.</ p >
1107
1107
1108
1108
1109
- < div class ='pre p1 bg-darken-1 mt0 rounded signature '> emoji(str : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
1109
+ < div class ='pre p1 bg-darken-1 mt0 rounded signature '> emoji(content : < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > ) → < a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > </ div >
1110
1110
1111
1111
1112
1112
@@ -1123,7 +1123,7 @@ <h3 class='left m0 panel-title' id='emoji'>
1123
1123
1124
1124
< div class ='space-bottom0 '>
1125
1125
< div >
1126
- < span class ='code bold '> str </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
1126
+ < span class ='code bold '> content </ span > < code class ='quiet '> (< a href ="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String "> String</ a > )</ code >
1127
1127
The emoji to print.
1128
1128
1129
1129
</ div >
0 commit comments