@js4cytoscape/ndex-client 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +27 -0
- package/dist/ndexClient.common.js +598 -0
- package/dist/ndexClient.js +395 -0
- package/package.json +33 -0
- package/src/CyNDEx.js +174 -0
- package/src/NDEx.js +737 -0
- package/src/index.js +4 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015 Krasimir Tsonev
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# NDEx Javascript client
|
|
2
|
+
|
|
3
|
+
A NDEx API Client written in JS.
|
|
4
|
+
|
|
5
|
+
## Documentation
|
|
6
|
+
|
|
7
|
+
- See the full [NDEx API documentation](https://home.ndexbio.org/using-the-ndex-server-api/)
|
|
8
|
+
- Try out the [NDEx API](http://openapi.ndextools.org/)
|
|
9
|
+
|
|
10
|
+
_Have in mind that you have to build your library before publishing. The files under the `dist` folder are the ones that should be distributed._
|
|
11
|
+
|
|
12
|
+
## Getting started
|
|
13
|
+
|
|
14
|
+
1. Build your library
|
|
15
|
+
|
|
16
|
+
- Modify the testconfig.js file with the credentials of test account.
|
|
17
|
+
- Run `npm install` to get the project's dependencies
|
|
18
|
+
- Run `npm run build` to produce a bundle
|
|
19
|
+
|
|
20
|
+
2. Running the tests
|
|
21
|
+
|
|
22
|
+
- Run `npm run test`
|
|
23
|
+
|
|
24
|
+
## Scripts
|
|
25
|
+
|
|
26
|
+
- `npm run build` - produces production version of your library under the `lib` folder
|
|
27
|
+
- `npm run test` - well ... it runs the tests :)
|