Security News
UK Officials Consider Banning Ransomware Payments from Public Entities
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Stand is a lightweight Object Document Mapper on top of Azure Table Storage Service.
Azure Table Storage sdk for node is really well written and documented. This project should be used along-side the basic driver and attempts to simply add syntactic sugar on top of the existing sdk, eg. simple data modeling, promise-based api, etc.
Indicator | |
---|---|
documentation | topliceanu.github.io/stand |
continuous integration | |
dependency management | |
code coverage | |
examples | /examples |
development management | |
change log | CHANGELOG Releases |
npm install stand
stand = require 'stand'
service = new stand.TableService 'my-storage-account', 'my-long-access-key'
class Url extends stand.Model
@schema:
'Url': {type: 'Edm.String', required: true}
service.register 'url', Url
url = new Url
'PartitionKey': 'u',
'RowKey': '2EfWx5p', # short hash.
'Url': 'http://google.com' # original url
url.insert().then ->
console.log 'successfully inserted the new url'
Url.find()
.where('RowKey eq ?', '2EfWx5p')
.exec().then (urls) ->
console.log "The expanded url is", (urls[0].get 'Url')
.fail (error) ->
console.log 'Failed to execute operations', error
See more in the /examples
directory. All examples have instructions on how to run and test them.
Examples are written in coffeescript but they should work just as fine in javascript.
$ vagrant up
$ npm install
./vagrant_boostrap.sh
for bash commands on how to setup all dependencies on a fresh ubuntu 14.04 machine.$ npm run test
$ npm run test
.
$ npm run coverage
to open a browser window with the coverage report.$ npm run doc
to re-generate the documentation.$ npm run lint
(The MIT License)
Copyright (c) 2012 Alexandru Topliceanu (alexandru.topliceanu@gmail.com)
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 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.
Version 0.0.1 - Jan 26, 2015
FAQs
Azure Storage Tables Object Document Mapper
The npm package stand receives a total of 6 weekly downloads. As such, stand popularity was classified as not popular.
We found that stand demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.