Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
ember-cli-string-utils
Advanced tools
The ember-cli-string-utils package provides a set of utility functions for manipulating and transforming strings, particularly useful in the context of Ember CLI projects.
dasherize
Converts a camelCase or snake_case string into a dash-separated string.
const stringUtils = require('ember-cli-string-utils');
console.log(stringUtils.dasherize('myString')); // 'my-string'
camelize
Converts a dash-separated or snake_case string into a camelCase string.
const stringUtils = require('ember-cli-string-utils');
console.log(stringUtils.camelize('my-string')); // 'myString'
classify
Converts a dash-separated or snake_case string into a class name (PascalCase).
const stringUtils = require('ember-cli-string-utils');
console.log(stringUtils.classify('my-string')); // 'MyString'
underscore
Converts a camelCase or dash-separated string into a snake_case string.
const stringUtils = require('ember-cli-string-utils');
console.log(stringUtils.underscore('myString')); // 'my_string'
Lodash is a modern JavaScript utility library delivering modularity, performance, and extras. It provides a wide range of string manipulation functions similar to ember-cli-string-utils, such as `_.kebabCase`, `_.camelCase`, `_.startCase`, and `_.snakeCase`.
Underscore.string is a string manipulation library for JavaScript that provides a variety of string transformation functions. It offers similar functionalities to ember-cli-string-utils, including `dasherize`, `camelize`, `classify`, and `underscored`.
Change-case is a collection of functions for changing the case of strings. It includes functions like `camelCase`, `constantCase`, `dotCase`, `headerCase`, `noCase`, `paramCase`, `pascalCase`, `pathCase`, `sentenceCase`, `snakeCase`, and `titleCase`, which are comparable to the features provided by ember-cli-string-utils.
FAQs
string utils extracted for other addons and blueprints
We found that ember-cli-string-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.