Skip to content

Commit b9e3824

Browse files
committed
chore: initial commit
0 parents  commit b9e3824

File tree

11 files changed

+6124
-0
lines changed

11 files changed

+6124
-0
lines changed

.eslintrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
extends: 'eslint-config-cheminfo'

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.idea
2+
node_modules
3+
.DS_Store
4+
coverage
5+
*.log

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
node_js:
3+
- stable
4+
- v6
5+
- v4
6+
sudo: false
7+
script: "npm run test-travis "
8+
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"

History.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
0.0.1 / HEAD
2+
============
3+
4+
* first release

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 cheminfo
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+

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# netcdfjs
2+
3+
[![NPM version][npm-image]][npm-url]
4+
[![build status][travis-image]][travis-url]
5+
[![Test coverage][coveralls-image]][coveralls-url]
6+
[![David deps][david-image]][david-url]
7+
[![npm download][download-image]][download-url]
8+
9+
Read and explore NetCDF files
10+
11+
## Installation
12+
13+
`$ npm install netcdfjs`
14+
15+
## [API Documentation](https://cheminfo-js.github.io/netcdfjs/)
16+
17+
## Example
18+
19+
```js
20+
const netcdfjs = require('netcdfjs');
21+
```
22+
23+
## License
24+
25+
[MIT](./LICENSE)
26+
27+
[npm-image]: https://img.shields.io/npm/v/cheminfo-netcdfjs.svg?style=flat-square
28+
[npm-url]: https://www.npmjs.com/package/cheminfo-netcdfjs
29+
[travis-image]: https://img.shields.io/travis/cheminfo-js/netcdfjs/master.svg?style=flat-square
30+
[travis-url]: https://travis-ci.org/cheminfo-js/netcdfjs
31+
[coveralls-image]: https://img.shields.io/coveralls/cheminfo-js/netcdfjs.svg?style=flat-square
32+
[coveralls-url]: https://coveralls.io/github/cheminfo-js/netcdfjs
33+
[david-image]: https://img.shields.io/david/cheminfo-js/netcdfjs.svg?style=flat-square
34+
[david-url]: https://david-dm.org/cheminfo-js/netcdfjs
35+
[download-image]: https://img.shields.io/npm/dm/cheminfo-netcdfjs.svg?style=flat-square
36+
[download-url]: https://www.npmjs.com/package/cheminfo-netcdfjs

package.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "netcdfjs",
3+
"version": "0.0.1",
4+
"description": "Read and explore NetCDF files",
5+
"keywords": [
6+
"netcdf",
7+
"nc",
8+
"data",
9+
"format"
10+
],
11+
"author": "Miguel Asencio <[email protected]> (https://github.com/maasencioh)",
12+
"repository": "cheminfo-js/netcdfjs",
13+
"bugs": {
14+
"url": "https://github.com/cheminfo-js/netcdfjs/issues"
15+
},
16+
"homepage": "https://github.com/cheminfo-js/netcdfjs",
17+
"license": "MIT",
18+
"main": "./src/index.js",
19+
"scripts": {
20+
"eslint": "eslint src test",
21+
"eslint-fix": "npm run eslint -- --fix",
22+
"test": "npm run test-mocha && npm run eslint",
23+
"test-mocha": "mocha --require should --reporter mocha-better-spec-reporter --recursive",
24+
"test-cov": "istanbul cover node_modules/.bin/_mocha -- --require should --reporter dot --recursive",
25+
"test-travis": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- --require should --reporter dot --recursive",
26+
"build": "cheminfo build"
27+
},
28+
"devDependencies": {
29+
"cheminfo-tools": "^1.5.0",
30+
"eslint": "^3.4.0",
31+
"eslint-config-cheminfo": "^1.2.0",
32+
"eslint-plugin-no-only-tests": "^1.1.0",
33+
"istanbul": "^0.4.4",
34+
"mocha": "^3.1.2",
35+
"mocha-better-spec-reporter": "^3.0.2",
36+
"should": "^11.1.1"
37+
}
38+
}

src/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
'use strict';
2+
3+
module.exports = netcdf;
4+
5+
function netcdf() {
6+
return true;
7+
}

test/.eslintrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
env:
2+
mocha: true

test/test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
'use strict';
2+
3+
const netcdfjs = require('..');
4+
5+
describe('test', function () {
6+
it('should be tested', function () {
7+
(42).should.equal(42);
8+
});
9+
});

0 commit comments

Comments
 (0)