Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
amarzavery committed Sep 13, 2017
1 parent b4bcc33 commit 6b1866d
Show file tree
Hide file tree
Showing 44 changed files with 6,520 additions and 59 deletions.
37 changes: 37 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
*.bmp binary
*.dll binary
*.gif binary
*.jpg binary
*.png binary
*.snk binary
*.exe binary
*.wmv binary
*.mp4 binary
*.ismv binary
*.isma binary

*.ascx text
*.cmd text
*.config text
*.cs text diff=csharp
*.csproj text merge=union
*.edmx text

*.htm text
*.html text

*.json text eol=lf
*.ts text eol=lf
*.js text eol=lf

*.msbuild text
*.nuspec text

*.resx text
*.ruleset text
*.StyleCop text
*.targets text
*.txt text
*.xml text

*.sln text eol=crlf merge=union
111 changes: 69 additions & 42 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,59 +1,86 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
#### linux gitignore

# Runtime data
pids
*.pid
*.seed
*.pid.lock
*~

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# KDE directory preferences
.directory

# Coverage directory used by tools like istanbul
coverage
# Linux trash folder which might appear on any partition or disk
.Trash-*

# nyc test coverage
.nyc_output
/obj/*
/node_modules
.ntvs_analysis.dat
.ntvs_analysis.*
npm-debug.log
tmp/*
packages/*
*.njsperf
.vs/
bin/*
/.vscode/*
ValidationTool.njsproj
ValidationTool.sln
.vscode/launch.json

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
#### win gitignore

# Bower dependency directory (https://bower.io/)
bower_components
# Windows image file caches
Thumbs.db
ehthumbs.db

# node-waf configuration
.lock-wscript
# Folder config file
Desktop.ini

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Recycle Bin used on file shares
$RECYCLE.BIN/

# Dependency directories
node_modules/
jspm_packages/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Typescript v1 declaration files
typings/
# Windows shortcuts
*.lnk

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache
#### osx gitignore

# Optional REPL history
.node_repl_history
.DS_Store
.AppleDouble
.LSOverride

# Output of 'npm pack'
*.tgz
# Icon must end with two \r
Icon

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

node_modules

#### JetBrains
.idea

# ignore code gen virtual env folder
SdkCodeGen

output/*
# Typescript output
dist/ms-rest/*
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.vscode/
node_modules/
samples/
test/
.travis.yml
gulpfile.js
.gitignore
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: node_js
sudo: false
node_js:
- "6"
- "8"
34 changes: 17 additions & 17 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License
MIT License

Copyright (c) Microsoft Corporation. All rights reserved.
Copyright (c) 2017 MIT

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# ms-rest-azure-js

Azure Runtime for isomorphic javascript libraries (that work in the browser and node.js environemnt) generated via [Autorest](https://github.com/Azure/Autorest).

## Requirements
- node.js version > 6.x
- npm install -g typescript

## Installation
- After cloning the repo, execute `npm install`

## Execution

### node.js
- Set the subscriptionId and token
- Run `node samples/node-sample.js`

### In the browser
- Set the subscriptionId and token and then run
- Open index.html file in the browser. It should show the response from GET request on the storage account. From Chrome type Ctrl + Shift + I and you can see the logs in console.

# Contributing

Expand Down
Loading

0 comments on commit 6b1866d

Please sign in to comment.