Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codemod-utils/ember

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemod-utils/ember

Utilities for Ember

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
630
decreased by-0.94%
Maintainers
0
Weekly downloads
 
Created
Source

This project uses GitHub Actions for continuous integration.

@codemod-utils/ember

Utilities for Ember

What is it?

@codemod-utils/ember provides methods that can help write codemods for Ember projects.

API

camelize

Converts an entity name to camel case. Used for naming the function that is associated with the entity.

import { camelize } from '@codemod-utils/ember';

const newValue = camelize('ui/form/generate-error-message');

// 'uiFormGenerateErrorMessage'

doubleColonize

Converts an entity name to double colon (::) case. Used for writing the angle bracket syntax or the signature for a component.

import { doubleColonize } from '@codemod-utils/ember';

const newValue = doubleColonize('ui/form/input');

// 'Ui::Form::Input'

pascalize

Converts an entity name to Pascal case. Used for naming the class that is associated with the entity.

import { pascalize } from '@codemod-utils/ember';

const newValue = pascalize('ui/form/input');

// 'UiFormInput'

Compatibility

  • Node.js v18 or above

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 02 Dec 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc