# classyact

> Command line tool for creating a new React Native class file

Latest version **1.1.2** (published 2017-09-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install classyact
pnpm add classyact
yarn add classyact
bun add classyact
```

Provides the command `classyact`.

## 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 | 1.1.2 |
| Published | 2017-09-15 |
| First published | 2016-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Waffle and Toast |
| Maintainers | waffleandtoast |

## Links

- npm: https://www.npmjs.com/package/classyact
- npm.io page: https://npm.io/package/classyact

## Dependencies (1)

- [shelljs](https://npm.io/package/shelljs.md) *

## Recent versions

- 1.1.2 (latest) — 2017-09-15
- 1.1.1 — 2017-08-07
- 1.1.0 — 2017-08-07
- 1.0.2 — 2016-07-19
- 1.0.1 — 2016-07-19
- 1.0.0 — 2016-07-06

## README

# Classyact
Very, very simple command line tool to create a new React Native class file with the correct imports.

## Installation
```
npm install -g classyact
```

## Usage
Go to the folder where you want to create the new class and then type:
```
classyact MyClassName
```
Where MyClassName is the name of your class (don't include .js or anything like that)

## Example of the class created
The class created for you will look something like this...
```javascript
import React, { Component } from 'react';
import {
	StyleSheet,
	Text,
	View
} from 'react-native';

export default class Example extends Component {
	render() {

	}
}

const localStyles = StyleSheet.create({

});
```

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