Comparing version 0.3.5 to 0.3.51
{ | ||
"name": "words.js", | ||
"version": "0.3.5", | ||
"version": "0.3.51", | ||
"description": "A flexible, robust and powerful Javascript word-string manipulation library.", | ||
@@ -5,0 +5,0 @@ "main": "words.min.js", |
@@ -46,15 +46,8 @@ words.js | ||
__________________________________ | ||
words.js includes types.js and strings.js. | ||
Most methods overload strings.js methods, only to focus on words rather than characters. | ||
Where in strings.js you use shuffle to randomly reorder the characters in a string, in words.js the overloaded | ||
shuffle function randomly reorders the words in a string, or you can shuffle the characters of a specific word in | ||
a string, and much more. See the API for some sweet examples. | ||
<br/><br/> | ||
All indexes in words.js are 1 based. Negative indexes can be used in most functions. -1 references the last | ||
word in the internal words array, 1 references the first word. | ||
- types.js is a tiny, but powerful custom type checker/enforcer. It's API can be found at: https://github.com/phazelift/types.js | ||
- strings.js is a full-fledged string manipulation library. It's API can be found at: https://github.com/phazelift/strings.js | ||
words.js is made for chaining operations on words in strings, most of it's methods return their | ||
own context. To return the actual value of the internal string/array, one can use `.get()` or `.$` or `.string`. | ||
___ | ||
words.js includes types.js and strings.js. In the browser you can access them via the following global variables: | ||
In the browser you can access them via the following global variables: | ||
- Types | ||
@@ -75,2 +68,13 @@ - Strings | ||
Most methods overload strings.js methods, only to focus on words rather than characters. | ||
Where in strings.js you use shuffle to randomly reorder the characters in a string, in words.js the overloaded | ||
shuffle function randomly reorders the words in a string, or you can shuffle the characters of a specific word in | ||
a string, and much more. See the API for some sweet examples. | ||
<br/><br/> | ||
All indexes in words.js are 1 based. Negative indexes can be used in most functions. -1 references the last | ||
word in the internal words array, 1 references the first word. | ||
words.js is made for chaining operations on words in strings, most of it's methods return their | ||
own context. To return the actual value of the internal string/array, one can use `.get()` or `.$` or `.string`. | ||
___ | ||
All input and output is type save; you can throw in any type and still get a string if the expected output is of | ||
@@ -77,0 +81,0 @@ type `<string>`. If any method receives an argument of a type it cannot process, the argument will simply be ignored. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
299333
450