Socket
Socket
Sign inDemoInstall

@chopinlang/string-utils

Package Overview
Dependencies
2
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

2

dist/cjs/case/camelcase.js

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const capitalize_js_1 = __importDefault(require("./capitalize.js"));

@@ -9,0 +9,0 @@ const words_js_1 = __importDefault(require("../split/words.js"));

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const { coerceToString } = helpers_1.default;

@@ -9,0 +9,0 @@ /**

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const { coerceToString } = helpers_1.default;

@@ -9,0 +9,0 @@ /**

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const { coerceToString } = helpers_1.default;

@@ -9,0 +9,0 @@ /**

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const words_js_1 = __importDefault(require("../split/words.js"));

@@ -9,0 +9,0 @@ const { coerceToString } = helpers_1.default;

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const words_js_1 = __importDefault(require("../split/words.js"));

@@ -9,0 +9,0 @@ const capitalize_js_1 = __importDefault(require("./capitalize.js"));

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const words_js_1 = __importDefault(require("../split/words.js"));

@@ -9,0 +9,0 @@ const { coerceToString } = helpers_1.default;

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const { coerceToString } = helpers_1.default;

@@ -9,0 +9,0 @@ function titleCase(subject) {

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const { coerceToString } = helpers_1.default;

@@ -9,0 +9,0 @@ /**

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const { coerceToString } = helpers_1.default;

@@ -9,0 +9,0 @@ /**

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const { coerceToString } = helpers_1.default;

@@ -9,0 +9,0 @@ /**

@@ -1,1 +0,1 @@

{"type":"commonjs","dependencies":{"@nyxlang/helpers":"^0.1.2","unicode-default-word-boundary":"^13.0.0"}}
{"type":"commonjs","dependencies":{"@chopinlang/helpers":"^0.2.1","unicode-default-word-boundary":"^13.0.0"}}

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const grapheme_iterator_js_1 = __importDefault(require("../lib/grapheme_iterator.js"));

@@ -9,0 +9,0 @@ const { coerceToString } = helpers_1.default;

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const { coerceToString } = helpers_1.default;

@@ -9,0 +9,0 @@ /**

@@ -7,3 +7,3 @@ "use strict";

const unicode_default_word_boundary_1 = require("unicode-default-word-boundary");
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const regexp_js_1 = require("../helpers/regexp.js");

@@ -10,0 +10,0 @@ const { coerceToString, isNil, isRegExp, nilDefault } = helpers_1.default;

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = __importDefault(require("@nyxlang/helpers"));
const helpers_1 = __importDefault(require("@chopinlang/helpers"));
const regexp_js_1 = require("../helpers/regexp.js");

@@ -9,0 +9,0 @@ const { coerceToString } = helpers_1.default;

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
import capitalize from "./capitalize.js";

@@ -3,0 +3,0 @@ import words from "../split/words.js";

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
const { coerceToString } = helpers;

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
const { coerceToString } = helpers;

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
const { coerceToString } = helpers;

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
import words from "../split/words.js";

@@ -3,0 +3,0 @@ const { coerceToString } = helpers;

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
import words from "../split/words.js";

@@ -3,0 +3,0 @@ import capitalize from "./capitalize.js";

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
import words from "../split/words.js";

@@ -3,0 +3,0 @@ const { coerceToString } = helpers;

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
const { coerceToString } = helpers;

@@ -3,0 +3,0 @@ export default function titleCase(subject) {

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
const { coerceToString } = helpers;

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
const { coerceToString } = helpers;

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
const { coerceToString } = helpers;

@@ -3,0 +3,0 @@ /**

@@ -1,1 +0,1 @@

{"type":"module","dependencies":{"@nyxlang/helpers":"^0.1.2","unicode-default-word-boundary":"^13.0.0"}}
{"type":"module","dependencies":{"@chopinlang/helpers":"^0.2.1","unicode-default-word-boundary":"^13.0.0"}}

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
import grapheme_iterator from "../lib/grapheme_iterator.js";

@@ -3,0 +3,0 @@ const { coerceToString } = helpers;

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
const { coerceToString } = helpers;

@@ -3,0 +3,0 @@ /**

import { split } from "unicode-default-word-boundary";
import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
import { IS_PUNCTUATION, REGEXP_EXTENDED_ASCII, REGEXP_LATIN_WORD, REGEXP_WORD, } from "../helpers/regexp.js";

@@ -4,0 +4,0 @@ const { coerceToString, isNil, isRegExp, nilDefault } = helpers;

@@ -1,2 +0,2 @@

import helpers from "@nyxlang/helpers";
import helpers from "@chopinlang/helpers";
import { REGEXP_PUNCTUATION } from "../helpers/regexp.js";

@@ -3,0 +3,0 @@ const { coerceToString } = helpers;

{
"name": "@chopinlang/string-utils",
"version": "0.1.0",
"version": "0.1.1",
"description": "String manipulation and processing functions",
"main": "src/index.js",
"type": "module",
"homepage": "https://nyxlang.github.io/string-utils/",
"homepage": "https://chopinlang.github.io/string-utils/",
"exports": {

@@ -31,3 +31,3 @@ ".": {

"type": "git",
"url": "git+https://github.com/nyxlang/string-utils.git"
"url": "git+https://github.com/chopinlang/string-utils.git"
},

@@ -41,3 +41,3 @@ "keywords": [

"bugs": {
"url": "https://github.com/nyxlang/string-utils/issues"
"url": "https://github.com/chopinlang/string-utils/issues"
},

@@ -61,5 +61,5 @@ "devDependencies": {

"dependencies": {
"@nyxlang/helpers": "^0.1.2",
"@chopinlang/helpers": "^0.2.1",
"unicode-default-word-boundary": "^13.0.0"
}
}

@@ -8,3 +8,3 @@ # Chopin String Utilities

```
npm install @nyxlang/string-utils
npm install @chopinlang/string-utils
```

@@ -17,3 +17,3 @@

```js
import * as su from "@nyxlang/string-utils";
import * as su from "@chopinlang/string-utils";
```

@@ -24,3 +24,3 @@

```js
const su = require("@nyxlang/string-utils");
const su = require("@chopinlang/string-utils");
```

@@ -32,6 +32,10 @@

// ES2015 import
import { camelCase, decodeUTF8, graphemes } from "@nyxlang/string-utils";
import { camelCase, decodeUTF8, graphemes } from "@chopinlang/string-utils";
// CommonJS
const { camelCase, decodeUTF8, graphemes } = require("@nyxlang/string-utils");
const {
camelCase,
decodeUTF8,
graphemes,
} = require("@chopinlang/string-utils");
```

@@ -52,2 +56,2 @@

[Complete API documentation](https://nyxlang.github.io/string-utils/)
[Complete API documentation](https://chopinlang.github.io/string-utils/)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc