<commit_before># Simple Node Example for Alma APIs
Introduction
------------
This repository provides a small simple example of using the [Alma APIs](https://developers.exlibrisgroup.com/alma/apis) in a [Node.js](https://nodejs.org/) app.

About the App
-------------
The application demonstrates the following functionality:
* Scan in an item and return the item information (uses the configuration and BIB APIs)

As with all demo applications, we include the following disclaimer: in an effort to increase readability and clarity, only minimal error handling has been added.

Installation Instructions
-------------------------
On any machine with [Node.js](https://nodejs.org) and [Git](http://git-scm.com/) installed, do the following:

1. Clone this repository: `git clone https://github.com/jweisman/simple-node-alma-apis.git`
2. Install dependencies: `npm install`
3. Copy the `config-example.json` file to `config.json` and replace the placeholder values:
  * `alma_host` and `alma_path` from the [Alma API Getting Started Guide](https://developers.exlibrisgroup.com/alma/apis)
  * `api_key` from the [Ex Libris Developer Network](https://developers.exlibrisgroup.com/) dashboard
4. Run the application: `npm start`

License
-------
The code for this applicaiton is made available under the [MIT license](http://opensource.org/licenses/MIT).<commit_msg>Spelling mistake<commit_after># Simple Node Example for Alma APIs
Introduction
------------
This repository provides a small simple example of using the [Alma APIs](https://developers.exlibrisgroup.com/alma/apis) in a [Node.js](https://nodejs.org/) app.

About the App
-------------
The application demonstrates the following functionality:
* Scan in an item and return the item information (uses the configuration and BIB APIs)

As with all demo applications, we include the following disclaimer: in an effort to increase readability and clarity, only minimal error handling has been added.

Installation Instructions
-------------------------
On any machine with [Node.js](https://nodejs.org) and [Git](http://git-scm.com/) installed, do the following:

1. Clone this repository: `git clone https://github.com/jweisman/simple-node-alma-apis.git`
2. Install dependencies: `npm install`
3. Copy the `config-example.json` file to `config.json` and replace the placeholder values:
  * `alma_host` and `alma_path` from the [Alma API Getting Started Guide](https://developers.exlibrisgroup.com/alma/apis)
  * `api_key` from the [Ex Libris Developer Network](https://developers.exlibrisgroup.com/) dashboard
4. Run the application: `npm start`

License
-------
The code for this application is made available under the [MIT license](http://opensource.org/licenses/MIT).
{'fraction_non_alphanumeric': 0.1343119266055046, 'fraction_numerical': 0.0029357798165137615, 'mean_word_length': 3.9563636363636365, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, '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': '2781867', 'n_tokens_mistral': 763, 'n_tokens_neox': 740, 'n_words': 294}