Skip to content

Commit d9a7269

Browse files
committed
Created Node.js SDK
1 parent bc4f568 commit d9a7269

File tree

171 files changed

+33007
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+33007
-2
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.mht -crlf -diff

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
wwwroot/*.js
2+
node_modules
3+
typings

.swagger-codegen-ignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Swagger Codegen Ignore
2+
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
README.md
24+
git_push.sh

.swagger-codegen/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.2.3

.vscode/launch.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run mocha",
6+
"type": "node",
7+
"request": "launch",
8+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
9+
"stopOnEntry": false,
10+
"args": [
11+
"-r",
12+
"${workspaceRoot}/node_modules/ts-node/register",
13+
"${file}",
14+
"--no-timeouts"
15+
],
16+
"cwd": "${workspaceRoot}",
17+
"runtimeExecutable": null,
18+
"env": {
19+
"NODE_ENV": "testing"
20+
}
21+
}
22+
]
23+
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Aspose Pty Ltd
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.

README.md

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,51 @@
1-
# aspose-pdf-cloud-node.js
2-
Node.js library for communicating with the Aspose.Pdf for Cloud API
1+
# Aspose.PDF Cloud
2+
[Aspose.PDF Cloud](https://products.aspose.cloud/pdf/cloud) is a true REST API that enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of Pdf documents in the cloud.
3+
4+
Our Cloud SDKs are wrappers around REST API in various programming languages, allowing you to process documents in language of your choice quickly and easily, gaining all benefits of strong types and IDE highlights. This repository contains new generation SDKs for Aspose.PDF Cloud and examples.
5+
6+
These SDKs are now fully supported. If you have any questions, see any bugs or have enhancement request, feel free to reach out to us at [Free Support Forums](https://forum.aspose.cloud/c/pdf).
7+
8+
## Installation
9+
10+
### NPM
11+
12+
From the command line:
13+
14+
```bash
15+
$ npm install asposepdfcloud --save
16+
```
17+
18+
## Usage
19+
20+
APIs of this SDK can be called as follows:
21+
```javascript
22+
23+
const { PdfApi } = require("asposewordscloud");
24+
25+
let pdfApi = new PdfApi(AppSid, AppKey);
26+
27+
let pageNumber = 1;
28+
let pdfDocName = "example.pdf";
29+
let remoteFolder = "folderName";
30+
31+
pdfApi.getPageAnnotations(pdfDocName, pageNumber, null, remoteFolder)
32+
.then((result) => {
33+
console.log(result.response);
34+
console.log(result.body);
35+
});
36+
37+
```
38+
39+
## Unit Tests
40+
Aspose PDF SDK includes a suite of unit tests within the "test" subdirectory. These Unit Tests also serves as examples of how to use the Aspose PDF SDK.
41+
42+
## Licensing
43+
All Aspose.PDF Cloud SDKs are licensed under [MIT License](LICENSE).
44+
45+
## Resources
46+
+ [**Website**](https://www.aspose.cloud)
47+
+ [**Product Home**](https://products.aspose.cloud/pdf/cloud)
48+
+ [**Documentation**](https://docs.aspose.cloud/display/pdfcloud/Home)
49+
+ [**Free Support Forum**](https://forum.aspose.cloud/c/pdf)
50+
+ [**Paid Support Helpdesk**](https://helpdesk.aspose.cloud/)
51+
+ [**Blog**](https://blog.aspose.cloud/category/aspose-products/aspose-pdf-product-family/)

0 commit comments

Comments
 (0)