Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

echo-best

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

echo-best - npm Package Compare versions

Comparing version 0.0.1 to 1.0.0

examples/requirejs/getSongInfo.html

4

examples/node/analyzeBuffer.js

@@ -1,4 +0,6 @@

require('../common/analyzeBuffer')(function(err, res){
console.log('Uploading track to the Echo Nest for analysis...');
require('../shared/analyzeBuffer')(function(err, res){
if (err){ throw err; }
console.log(res);
});

@@ -1,4 +0,6 @@

require('../common/analyzeHex')(function(err, res){
console.log('Uploading track to the Echo Nest for analysis...');
require('../shared/analyzeHex')(function(err, res){
if (err){ throw err; }
console.log(res);
});

@@ -1,4 +0,6 @@

require('../common/getSongInfo')(function(err, res){
console.log('Getting song info from the Echo Nest...');
require('../shared/getSongInfo')(function(err, res){
if (err){ throw err; }
console.log(res);
});

@@ -23,3 +23,6 @@ (function (root, factory) {

return function(path, opt, cb) {
if (!_.isString(path)){
if (!_.isFunction(cb)){
throw new TypeError('Third argument: Callback must be a function');
}
else if (!_.isString(path)){
cb(new TypeError('First argument: Path must be a string'));

@@ -30,5 +33,2 @@ }

}
else if (!_.isFunction(cb)){
cb(new TypeError('Third argument: Callback must be a function'));
}
else{

@@ -35,0 +35,0 @@ if (_.contains(path, 'upload')){

{
"name": "echo-best",
"version": "0.0.1",
"version": "1.0.0",
"description": "The Echo Nest JavaScript API for RequireJS, Node, and browsers",

@@ -36,2 +36,2 @@ "main": "lib/echoBest.js",

"license": "MIT"
}
}

@@ -25,10 +25,10 @@ # Why Another JavaScript API

# Examples
Before running any of the examples, the dependencies must be downloaded
Before running any of the examples, the dependencies must be downloaded:
```
cd examples/common && npm install
cd examples/shared && npm install
```
[Browser Examples](placeholder)
[Browser Examples](https://github.com/mjhasbach/echo-best/tree/master/examples/browser)
[RequireJS Examples](placeholder)
[RequireJS Examples](https://github.com/mjhasbach/echo-best/tree/master/examples/requirejs)
[Node Examples](placeholder)
[Node Examples](https://github.com/mjhasbach/echo-best/tree/master/examples/node)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc