@stdlib/math-base-napi-unary 0.0.9 → 0.1.1

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/CITATION.cff ADDED
@@ -0,0 +1,30 @@
1
+ cff-version: 1.2.0
2
+ title: stdlib
3
+ message: >-
4
+ If you use this software, please cite it using the
5
+ metadata from this file.
6
+
7
+ type: software
8
+
9
+ authors:
10
+ - name: The Stdlib Authors
11
+ url: https://github.com/stdlib-js/stdlib/graphs/contributors
12
+
13
+ repository-code: https://github.com/stdlib-js/stdlib
14
+ url: https://stdlib.io
15
+
16
+ abstract: |
17
+ Standard library for JavaScript and Node.js.
18
+
19
+ keywords:
20
+ - JavaScript
21
+ - Node.js
22
+ - TypeScript
23
+ - standard library
24
+ - scientific computing
25
+ - numerical computing
26
+ - statistical computing
27
+
28
+ license: Apache-2.0 AND BSL-1.0
29
+
30
+ date-released: 2016
package/README.md CHANGED
@@ -18,6 +18,17 @@ limitations under the License.
18
18
 
19
19
  -->
20
20
 
21
+
22
+ <details>
23
+ <summary>
24
+ About stdlib...
25
+ </summary>
26
+ <p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>
27
+ <p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>
28
+ <p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>
29
+ <p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>
30
+ </details>
31
+
21
32
  # unary
22
33
 
23
34
  [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
@@ -717,8 +728,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
717
728
  [npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-napi-unary.svg
718
729
  [npm-url]: https://npmjs.org/package/@stdlib/math-base-napi-unary
719
730
 
720
- [test-image]: https://github.com/stdlib-js/math-base-napi-unary/actions/workflows/test.yml/badge.svg?branch=v0.0.9
721
- [test-url]: https://github.com/stdlib-js/math-base-napi-unary/actions/workflows/test.yml?query=branch:v0.0.9
731
+ [test-image]: https://github.com/stdlib-js/math-base-napi-unary/actions/workflows/test.yml/badge.svg?branch=v0.1.1
732
+ [test-url]: https://github.com/stdlib-js/math-base-napi-unary/actions/workflows/test.yml?query=branch:v0.1.1
722
733
 
723
734
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-napi-unary/main.svg
724
735
  [coverage-url]: https://codecov.io/github/stdlib-js/math-base-napi-unary?branch=main
@@ -0,0 +1,3 @@
1
+ /// <reference path="../docs/types/index.d.ts" />
2
+ import headerDir from '../docs/types/index';
3
+ export = headerDir;
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";var a=function(s,e){return function(){return e||s((e={exports:{}}).exports,e),e.exports}};var i=a(function(c,r){
2
+ var t=require("path").resolve,u=t(__dirname,"..","include");r.exports=u
3
+ });var v=i();module.exports=v;
4
+ /** @license Apache-2.0 */
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../lib/main.js", "../lib/index.js"],
4
+ "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2020 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MODULES //\n\nvar resolve = require( 'path' ).resolve;\n\n\n// MAIN //\n\n/**\n* Absolute file path for the directory containing header files for C APIs.\n*\n* @name headerDir\n* @constant\n* @type {string}\n*/\nvar headerDir = resolve( __dirname, '..', 'include' );\n\n\n// EXPORTS //\n\nmodule.exports = headerDir;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2020 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* Absolute file path for the directory containing header files for C APIs.\n*\n* @module @stdlib/math-base-napi-unary\n*\n* @example\n* var headerDir = require( '@stdlib/math-base-napi-unary' );\n*\n* console.log( headerDir );\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"],
5
+ "mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAU,QAAS,MAAO,EAAE,QAY5BC,EAAYD,EAAS,UAAW,KAAM,SAAU,EAKpDD,EAAO,QAAUE,ICNjB,IAAIC,EAAO,IAKX,OAAO,QAAUA",
6
+ "names": ["require_main", "__commonJSMin", "exports", "module", "resolve", "headerDir", "main"]
7
+ }
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- // TypeScript Version: 2.0
19
+ // TypeScript Version: 4.1
20
20
 
21
21
  /**
22
22
  * Absolute file path for the directory containing header files for C APIs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/math-base-napi-unary",
3
- "version": "0.0.9",
3
+ "version": "0.1.1",
4
4
  "description": "C APIs for registering a Node-API module exporting an interface for invoking a unary numerical function.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -41,17 +41,17 @@
41
41
  "url": "https://github.com/stdlib-js/stdlib/issues"
42
42
  },
43
43
  "dependencies": {
44
- "@stdlib/complex-float32": "^0.0.7",
45
- "@stdlib/complex-float64": "^0.0.8",
46
- "@stdlib/complex-reim": "^0.0.6",
47
- "@stdlib/complex-reimf": "^0.0.1",
48
- "@stdlib/utils-library-manifest": "^0.0.8"
44
+ "@stdlib/complex-float32": "^0.1.1",
45
+ "@stdlib/complex-float64": "^0.1.1",
46
+ "@stdlib/complex-reim": "^0.1.1",
47
+ "@stdlib/complex-reimf": "^0.1.1",
48
+ "@stdlib/utils-library-manifest": "^0.1.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@stdlib/assert-is-browser": "^0.0.8",
52
- "@stdlib/bench": "^0.0.12",
53
- "@stdlib/math-base-assert-is-nan": "^0.0.8",
54
- "@stdlib/utils-try-require": "^0.0.7",
51
+ "@stdlib/assert-is-browser": "^0.1.1",
52
+ "@stdlib/bench": "^0.1.0",
53
+ "@stdlib/math-base-assert-is-nan": "^0.1.1",
54
+ "@stdlib/utils-try-require": "^0.1.1",
55
55
  "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
56
56
  "istanbul": "^0.4.1",
57
57
  "tap-min": "git+https://github.com/Planeshifter/tap-min.git"