<commit_before># iotivity-node

## Description
This project provides a Javascript API for [OCF][] functionality. The API follows a maintained [specification][] and is implemented as a native addon using [iotivity][] as its backend.

## Status
<a href="https://ci.appveyor.com/project/gabrielschulhof/iotivity-node/branch/master">
	<img alt="Windows Build Status" src="https://ci.appveyor.com/api/projects/status/github/otcshare/iotivity-node?branch=master&svg=true"></img>
</a>
<a href="https://travis-ci.org/otcshare/iotivity-node">
	<img alt="Posix Build Status" src="https://travis-ci.org/otcshare/iotivity-node.svg?branch=master"></img>
</a>
<a href='https://coveralls.io/github/otcshare/iotivity-node?branch=master'>
	<img src='https://coveralls.io/repos/github/otcshare/iotivity-node/badge.svg?branch=master' alt='Coverage Status' />
</a>

## Installation

* On Linux and OSX
  0. Make sure [node][] version 0.12 or later is up and running
  0. Install the following packages, which your distribution should provide:
      0. unzip, scons, git, and make
      0. Development headers for libuuid, and glib2
      0. A C compiler and a C++ compiler (gcc-5 or later)
  0. Clone this repository
  0. cd `iotivity-node`
  0. Run `npm install`
* On Windows ([video](https://www.youtube.com/watch?v=RgsZpv8IrWA))
  0. Install [node][] 6.9.1 or later
  0. In a PowerShell running as Administrator, run `npm install -g --production windows-build-tools`. This will install Python and the toolchain necessary for building iotivity-node. While this command runs, you can perform some of the following steps.
  0. Install [git][]
  0. Install [7-Zip][]
  0. The installation of the `windows-build-tools` package eventually indicates that it has installed Python. After that message appears, you can perform some of the steps below.
  0. In a command prompt, append the python folder, the python scripts folder, and the 7-Zip folder to your PATH. The paths you append are based on your Windows user name, so replace "yourusernamehere" in the example below with your actual Windows user name.
<commit_msg>README.md: Mention assumptions about where node is<commit_after># iotivity-node

## Description
This project provides a Javascript API for [OCF][] functionality. The API follows a maintained [specification][] and is implemented as a native addon using [iotivity][] as its backend.

## Status
<a href="https://ci.appveyor.com/project/gabrielschulhof/iotivity-node/branch/master">
	<img alt="Windows Build Status" src="https://ci.appveyor.com/api/projects/status/github/otcshare/iotivity-node?branch=master&svg=true"></img>
</a>
<a href="https://travis-ci.org/otcshare/iotivity-node">
	<img alt="Posix Build Status" src="https://travis-ci.org/otcshare/iotivity-node.svg?branch=master"></img>
</a>
<a href='https://coveralls.io/github/otcshare/iotivity-node?branch=master'>
	<img src='https://coveralls.io/repos/github/otcshare/iotivity-node/badge.svg?branch=master' alt='Coverage Status' />
</a>

## Installation

* On Linux and OSX
  0. Make sure [node][] version 0.12 or later is up and running. This means that
			0. the command `node` runs node version 0.12 or later, and that
			0. the directory in which the `node` binary can be found is listed in the `PATH` environment variable so that the command `node somescript.js` is enough to execute the script `somescript.js` using node version 0.12 or later.
  0. Install the following packages, which your distribution should provide:
      0. unzip, scons, git, and make
      0. Development headers for libuuid, and glib2
      0. A C compiler and a C++ compiler (gcc-5 or later)
  0. Clone this repository.
  0. cd `iotivity-node`
  0. Run `npm install`.
* On Windows ([video](https://www.youtube.com/watch?v=RgsZpv8IrWA))
  0. Install [node][] 6.9.1 or later. As with Linux and OSX, make sure that node is called `node` and that it is on your `PATH`.
  0. In a PowerShell running as Administrator, run `npm install -g --production windows-build-tools`. This will install Python and the toolchain necessary for building iotivity-node. While this command runs, you can perform some of the following steps.
  0. Install [git][]
  0. Install [7-Zip][]
  0. The installation of the `windows-build-tools` package eventually indicates that it has installed Python. After that message appears, you can perform some of the steps below.
  0. In a command prompt, append the python folder, the python scripts folder, and the 7-Zip folder to your PATH. The paths you append are based on your Windows user name, so replace "yourusernamehere" in the example below with your actual Windows user name.

{'fraction_non_alphanumeric': 0.11175836030204962, 'fraction_numerical': 0.012513484358144552, 'mean_word_length': 4.250283125707814, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 14, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '998461', 'n_tokens_mistral': 1426, 'n_tokens_neox': 1389, 'n_words': 551}