# gulp-require-classify

> A gulp plug-in to make requireJS and ng-classify compatible with a simple syntax

Latest version **2.1.0** (published 2016-12-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install gulp-require-classify
pnpm add gulp-require-classify
yarn add gulp-require-classify
bun add gulp-require-classify
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2016-12-31 |
| First published | 2016-12-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Moises Berenguer |
| Maintainers | mesabg |
| Keywords | AngularJS, RequireJS, ng-classify |

## Links

- npm: https://www.npmjs.com/package/gulp-require-classify
- Repository: https://github.com/mesabg/gulp-require-classify
- Homepage: https://github.com/mesabg/gulp-require-classify#readme
- Issues: https://github.com/mesabg/gulp-require-classify/issues
- npm.io page: https://npm.io/package/gulp-require-classify

## Recent versions

- 2.1.0 (latest) — 2016-12-31
- 2.0.2 — 2016-12-28
- 2.0.1 — 2016-12-28
- 2.0.0 — 2016-12-28
- 1.0.1 — 2016-12-26
- 1.0.0 — 2016-12-25

## README

# gulp-require-classify

Mix ng-classify with require js and using a simple syntax 

## Getting Started

These is a project created to solve a problem I have when I was trying to use ng-classify plug-in and requireJS

### Prerequisites

Nothing

### Installing

Run this command

```
npm install gulp-require-classify --save-dev
```

### Use

Using tags "@classify" and "@!classify" code inside of them are going to be compiled using ng-classify plug in, no matter indentation.

Input Code
```
# Main Application
define [
	
], () ->
	'use strict'
	
	@classify
	# Main Application Class
	class App extends App then constructor: -> return [
		'ngRoute'
	]

	# Main Controller Class
	class Main extends Controller
		constructor: ($scope) ->
			$scope.msg = "Running"
	@!classify
```

Output Code
```
# Main Application
define [
	
], () ->
	'use strict'
	
	
	# Main Application Class
	class App then constructor: -> return [
		'ngRoute'
	]

	# Main Controller Class
	class Main
		constructor: ($scope) ->
			$scope.msg = "Running"


	angular.module('app', new App())
	.controller('mainController', ['$scope', Main])
```

## Built With

* [ng-classify](https://www.npmjs.com/package/gulp-ng-classify) - Amazing Plug-in
* [unindent](https://www.npmjs.com/package/unindent) - Unindenting tool
* [indent-string](https://www.npmjs.com/package/indent-string) - Indenting tool
* [gulp-util](https://www.npmjs.com/package/gulp-util) - Gulp general use tool


## Authors

* **Moisés Berenguer** - *Initial work* - [CaryLandholt](https://github.com/CaryLandholt)

## License

This is an unlicensed project - see the [LICENSE](LICENSE) file for details

## Acknowledgments

* Solving ng-classify problem using requireJS

---
_Source: https://npm.io/package/gulp-require-classify · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
