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

babel-plugin-hodor

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-hodor

Write code like hodor

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

babel-plugin-hodor

NPM version Build status Downloads

Babel plugin to hodor. Inspired by https://redd.it/4dqlbr

Hodor

Installation

$ npm install babel-plugin-hodor

Usage

.babelrc

{
  "plugins": ["hodor"]
}

Via CLI

$ babel --plugins hodor script.js

Via Node API

require('babel').transform('code', {
  plugins: ['hodor']
});

Example

// input
const foo = bar => {
  const baz = 123;
  return bar + baz;
}

// output
"use strict";

var hodor = function hodor(Hodor) {
  var hodOr = 123;
  return Hodor + hodOr;
};

Keywords

FAQs

Package last updated on 17 Apr 2016

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