# tomahawq

> A modern Tomahawk loader loader (ahh, so meta)

Latest version **0.4.2** (published 2015-07-29) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.4.2 |
| Published | 2015-07-29 |
| First published | 2015-07-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.6 |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Ale |
| Maintainers | iamale |
| Keywords | tomahawk, music, player, q |

## Links

- npm: https://www.npmjs.com/package/tomahawq
- Repository: https://github.com/xhochy/tomahawk-nodejs-tomahawkjs
- Homepage: https://github.com/xhochy/tomahawk-nodejs-tomahawkjs#readme
- Issues: https://github.com/xhochy/tomahawk-nodejs-tomahawkjs/issues
- npm.io page: https://npm.io/package/tomahawq

## Dependencies (6)

- [q](https://npm.io/package/q.md) ^1.4.1
- [async](https://npm.io/package/async.md) ^0.9.0
- [unzip](https://npm.io/package/unzip.md) ~0.1.11
- [pullstream](https://npm.io/package/pullstream.md) ~0.4.0
- [underscore](https://npm.io/package/underscore.md) ^1.8.3
- [xmlhttprequest](https://npm.io/package/xmlhttprequest.md) ^1.7.0

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 0.4.2 (latest) — 2015-07-29
- 0.4.1 — 2015-07-29

## README

tomahawq
=========

Implementation of the JS plugins API from Tomahawk as a library for NodeJS and io.js.


Usage
------

```javascript
var Tomahawk = require('tomahawq');

Tomahawk.loadAxe(pathtoaxe).then(function(axe) {
  var instance = axe.getInstance();
  return instance.search({query: "Protohype"});
}).then(function(results) {
  console.log(results);
});
```

`instance` here is a special `AxeInstance` object that proxies some methods to the actual plugin instance. `instance.resolve`, `.search`, `.lookupUrl` and `.getStreamUrl` return [Q promises][npm-q], while `.canParseUrl` is just a proxy.

Further usage docs coming soon.

[npm-q]: https://www.npmjs.com/package/q

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