<commit_before>## Photoshop-DOM-Event

[![npm-image](https://img.shields.io/badge/npm-v0.0.0-ff69b4.svg)](https://www.npmjs.com/package/photoshop-dom-event)
![version-image](https://img.shields.io/badge/license-MIT-ff69b4.svg)

#### Description
-----------
Node.js module for listening to Adobe Photoshop DOM events from a CEP HTML/JavaScript Extension (Custom Panel).

For registering a Photoshop event callback is necessary to specify the charID or stringID that is expected to listen.
To preserve Photoshop stability, event listeners can be started or stopped during extension execusion by using the corresponding methods described below.

#### Install
--------
```
npm install photoshop-dom-event --save
```

#### Example
--------
```
var photoshopDOM = require('photoshop-dom-event');

photoshopDOM.startListeningEvent('placedLayerEditContents');

photoshopDOM.onEvent('placedLayerEditContents', function(eventData) {
  console.log('Editing Photoshop Smart Layer', eventData);
});

photoshopDOM.stopListeningEvent('placedLayerEditContents');
```


#### Changelog
--------

**0.0.0 (Jul 23 2016)**
*    Initial development.

--------
## License
MIT © [<NAME>][0]

[0]: http://antoniogomez.me/<commit_msg>📄 readme file rearrange moving description section below the install process<commit_after>## Photoshop-DOM-Event

[![npm-image](https://img.shields.io/badge/npm-v0.0.0-ff69b4.svg)](https://www.npmjs.com/package/photoshop-dom-event)
![version-image](https://img.shields.io/badge/license-MIT-ff69b4.svg)

#### Install
--------
```
npm install photoshop-dom-event --save
```

#### Description
-----------
Node.js module for listening to Adobe Photoshop DOM events from a CEP HTML/JavaScript Extension (Custom Panel).

For registering a Photoshop event callback is necessary to specify the charID or stringID that is expected to listen.

To mantain Photoshop stability, event listeners can be started or stopped during extension execusion by using the corresponding methods described below.


#### Example
--------
```
var photoshopDOM = require('photoshop-dom-event');

photoshopDOM.startListeningEvent('placedLayerEditContents');

photoshopDOM.onEvent('placedLayerEditContents', function(eventData) {
  console.log('Editing Photoshop Smart Layer', eventData);
});

photoshopDOM.stopListeningEvent('placedLayerEditContents');
```


#### Changelog
--------

**0.0.0 (Jul 23 2016)**
*    Initial development.

--------
## License
MIT © [<NAME>][0]

[0]: http://antoniogomez.me/
{'fraction_non_alphanumeric': 0.16330645161290322, 'fraction_numerical': 0.016129032258064516, 'mean_word_length': 4.38177874186551, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '999171', 'n_tokens_mistral': 818, 'n_tokens_neox': 708, 'n_words': 193}