Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skratchdot/amd-to-commonjs-codemod
A codemod to transform amd style includes into commonjs includes
https://github.com/skratchdot/amd-to-commonjs-codemod
Last synced: 23 days ago
JSON representation
A codemod to transform amd style includes into commonjs includes
- Host: GitHub
- URL: https://github.com/skratchdot/amd-to-commonjs-codemod
- Owner: skratchdot
- License: mit
- Created: 2016-12-08T20:31:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-09T21:34:51.000Z (almost 8 years ago)
- Last Synced: 2024-10-13T23:36:55.400Z (26 days ago)
- Language: JavaScript
- Size: 38.1 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
- awesome-codemods - amd-to-commonjs-codemod - A codemod to transform amd style includes into commonjs includes. (JavaScript)
README
# amd-to-commonjs-codemod
[![NPM version](https://badge.fury.io/js/amd-to-commonjs-codemod.svg)](http://badge.fury.io/js/amd-to-commonjs-codemod)
[![Build Status](https://travis-ci.org/skratchdot/amd-to-commonjs-codemod.png?branch=master)](https://travis-ci.org/skratchdot/amd-to-commonjs-codemod)
[![Code Climate](https://codeclimate.com/github/skratchdot/amd-to-commonjs-codemod.png)](https://codeclimate.com/github/skratchdot/amd-to-commonjs-codemod)
[![Coverage Status](https://coveralls.io/repos/skratchdot/amd-to-commonjs-codemod/badge.svg?branch=master&service=github)](https://coveralls.io/github/skratchdot/amd-to-commonjs-codemod?branch=master)
[![Dependency Status](https://david-dm.org/skratchdot/amd-to-commonjs-codemod.svg)](https://david-dm.org/skratchdot/amd-to-commonjs-codemod)
[![devDependency Status](https://david-dm.org/skratchdot/amd-to-commonjs-codemod/dev-status.svg)](https://david-dm.org/skratchdot/amd-to-commonjs-codemod#info=devDependencies)[![NPM](https://nodei.co/npm/amd-to-commonjs-codemod.png)](https://npmjs.org/package/amd-to-commonjs-codemod)
## Description
A codemod to transform amd style includes into commonjs includes
## Getting Started
```bash
npm install jscodeshift
npm install amd-to-commonjs-codemod
jscodeshift -t ./node_modules/amd-to-commonjs-codemod/transform.js /path/to/files/*.js
```## Links
- [Source Code](https://github.com/skratchdot/amd-to-commonjs-codemod)
- [Live example on AST Explorer](http://astexplorer.net/#/qnUtxENiO8)## License
Copyright (c) 2016 [skratchdot](https://www.skratchdot.com/)
Licensed under the
[MIT license](https://github.com/skratchdot/amd-to-commonjs-codemod/blob/master/LICENSE-MIT).