From 1a6e4f8a5db32ce7b59ac67fabe5d85fb22a7494 Mon Sep 17 00:00:00 2001 From: Sachinn-64 Date: Sat, 13 Jun 2026 15:18:41 +0530 Subject: [PATCH] feat: add plot/vega/transform/extent --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: passed - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../vega/transform/extent/examples/index.js | 31 +++ .../vega/transform/extent/lib/change_event.js | 41 ++++ .../vega/transform/extent/lib/field/get.js | 43 ++++ .../transform/extent/lib/field/properties.js | 33 +++ .../vega/transform/extent/lib/field/set.js | 61 +++++ .../plot/vega/transform/extent/lib/index.js | 44 ++++ .../plot/vega/transform/extent/lib/main.js | 216 ++++++++++++++++++ .../vega/transform/extent/lib/properties.json | 4 + .../transform/extent/lib/properties/get.js | 41 ++++ .../vega/transform/extent/lib/signal/get.js | 43 ++++ .../transform/extent/lib/signal/properties.js | 33 +++ .../vega/transform/extent/lib/signal/set.js | 66 ++++++ .../plot/vega/transform/extent/package.json | 61 +++++ 13 files changed, 717 insertions(+) create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/examples/index.js create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/lib/change_event.js create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/get.js create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/properties.js create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/set.js create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/lib/index.js create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/lib/main.js create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/lib/properties.json create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/lib/properties/get.js create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/get.js create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/properties.js create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/set.js create mode 100644 lib/node_modules/@stdlib/plot/vega/transform/extent/package.json diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/examples/index.js b/lib/node_modules/@stdlib/plot/vega/transform/extent/examples/index.js new file mode 100644 index 000000000000..5b43875c1bd7 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/examples/index.js @@ -0,0 +1,31 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +var Field = require( '@stdlib/plot/vega/field/ctor' ); +var ExtentTransform = require( './../lib' ); + +var transform = new ExtentTransform({ + 'field': new Field({ + 'field': 'value' + }), + 'signal': 'extent' +}); + +console.log( transform.toJSON() ); diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/change_event.js b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/change_event.js new file mode 100644 index 000000000000..e444f9c667b0 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/change_event.js @@ -0,0 +1,41 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MAIN // + +/** +* Returns a new change event object. +* +* @private +* @param {string} property - property name +* @returns {Object} event object +*/ +function event( property ) { // eslint-disable-line stdlib/no-redeclare + return { + 'type': 'update', + 'source': 'transform', + 'property': property + }; +} + + +// EXPORTS // + +module.exports = event; diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/get.js b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/get.js new file mode 100644 index 000000000000..42165bd6b798 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/get.js @@ -0,0 +1,43 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* eslint-disable no-invalid-this */ + +'use strict'; + +// MODULES // + +var prop = require( './properties.js' ); + + +// MAIN // + +/** +* Returns the data field for which to compute the extent. +* +* @private +* @returns {Field} field +*/ +function get() { + return this[ prop.private ]; +} + + +// EXPORTS // + +module.exports = get; diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/properties.js b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/properties.js new file mode 100644 index 000000000000..639ddb612903 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/properties.js @@ -0,0 +1,33 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var property2object = require( '@stdlib/plot/vega/base/property2object' ); + + +// MAIN // + +var obj = property2object( 'field' ); + + +// EXPORTS // + +module.exports = obj; diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/set.js b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/set.js new file mode 100644 index 000000000000..3083babaef6c --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/field/set.js @@ -0,0 +1,61 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* eslint-disable no-invalid-this */ + +'use strict'; + +// MODULES // + +var logger = require( 'debug' ); +var isField = require( '@stdlib/plot/vega/base/assert/is-field' ); +var format = require( '@stdlib/string/format' ); +var changeEvent = require( './../change_event.js' ); +var prop = require( './properties.js' ); + + +// VARIABLES // + +var debug = logger( 'vega:extent-transform:set:'+prop.name ); + + +// MAIN // + +/** +* Sets the data field for which to compute the extent. +* +* @private +* @param {Field} value - input value +* @throws {TypeError} must be a valid field +* @returns {void} +*/ +function set( value ) { + if ( !isField( value ) ) { + throw new TypeError( format( 'invalid assignment. `%s` must be a valid field. Value: `%s`.', prop.name, value ) ); + } + if ( value !== this[ prop.private ] ) { + debug( 'Current value: %s. New value: %s.', JSON.stringify( this[ prop.private ] ), JSON.stringify( value ) ); + this[ prop.private ] = value; + this.emit( 'change', changeEvent( prop.name ) ); + } +} + + +// EXPORTS // + +module.exports = set; diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/index.js b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/index.js new file mode 100644 index 000000000000..5264f332f601 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/index.js @@ -0,0 +1,44 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +/** +* Extent transform constructor. +* +* @module @stdlib/plot/vega/transform/extent +* +* @example +* var Field = require( '@stdlib/plot/vega/field/ctor' ); +* var ExtentTransform = require( '@stdlib/plot/vega/transform/extent' ); +* +* var transform = new ExtentTransform({ +* 'field': new Field({ 'field': 'value' }), +* 'signal': 'extent' +* }); +* // returns +*/ + +// MODULES // + +var main = require( './main.js' ); + + +// EXPORTS // + +module.exports = main; diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/main.js b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/main.js new file mode 100644 index 000000000000..6dce5b518fa3 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/main.js @@ -0,0 +1,216 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* eslint-disable no-restricted-syntax, no-invalid-this, stdlib/no-empty-lines-between-requires */ + +'use strict'; + +// MODULES // + +var EventEmitter = require( 'events' ).EventEmitter; +var logger = require( 'debug' ); +var isObject = require( '@stdlib/assert/is-object' ); +var setNonEnumerableReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' ); +var setNonEnumerableReadOnlyAccessor = require( '@stdlib/utils/define-nonenumerable-read-only-accessor' ); // eslint-disable-line id-length +var setReadWriteAccessor = require( '@stdlib/utils/define-read-write-accessor' ); +var hasProp = require( '@stdlib/assert/has-property' ); +var inherit = require( '@stdlib/utils/inherit' ); +var instance2json = require( '@stdlib/plot/vega/base/to-json' ); +var transformErrorMessage = require( '@stdlib/plot/vega/base/transform-validation-message' ); +var format = require( '@stdlib/string/format' ); +var properties = require( './properties.json' ); + +// Note: keep the following in alphabetical order according to the `require` path... +var getField = require( './field/get.js' ); +var setField = require( './field/set.js' ); + +var getSignal = require( './signal/get.js' ); +var setSignal = require( './signal/set.js' ); + +var getProperties = require( './properties/get.js' ); + + +// VARIABLES // + +var debug = logger( 'vega:extent-transform:main' ); + + +// MAIN // + +/** +* Extent transform constructor. +* +* @constructor +* @param {Options} options - constructor options +* @param {Field} options.field - data field for which to compute the extent +* @param {string} [options.signal] - signal name for the extent result +* @throws {TypeError} options argument must be an object +* @throws {Error} must provide valid options +* @returns {ExtentTransform} extent transform instance +* +* @example +* var Field = require( '@stdlib/plot/vega/field/ctor' ); +* +* var transform = new ExtentTransform({ +* 'field': new Field({ 'field': 'value' }), +* 'signal': 'extent' +* }); +* // returns +*/ +function ExtentTransform( options ) { + var v; + var k; + var i; + if ( !( this instanceof ExtentTransform ) ) { + return new ExtentTransform( options ); + } + EventEmitter.call( this ); + + if ( !isObject( options ) ) { + throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) ); + } + + // Check for required properties... + if ( !hasProp( options, 'field' ) ) { + throw new TypeError( 'invalid argument. Options argument must specify a data field for which to compute the extent.' ); + } + + // Validate provided options by attempting to assign option values to corresponding fields... + for ( i = 0; i < properties.length; i++ ) { + k = properties[ i ]; + if ( !hasProp( options, k ) ) { + continue; + } + v = options[ k ]; + try { + this[ k ] = v; + } catch ( err ) { + debug( 'Encountered an error. Error: %s', err.message ); + + // FIXME: retain thrown error type + throw new Error( transformErrorMessage( err.message ) ); + } + } + return this; +} + +/* +* Inherit from the `EventEmitter` prototype. +*/ +inherit( ExtentTransform, EventEmitter ); + +/** +* Constructor name. +* +* @private +* @name name +* @memberof ExtentTransform +* @readonly +* @type {string} +*/ +setNonEnumerableReadOnly( ExtentTransform, 'name', 'ExtentTransform' ); + +/** +* Data field for which to compute the extent. +* +* @name field +* @memberof ExtentTransform.prototype +* @type {Field} +* +* @example +* var Field = require( '@stdlib/plot/vega/field/ctor' ); +* +* var transform = new ExtentTransform({ +* 'field': new Field({ 'field': 'value' }) +* }); +* +* var v = transform.field; +* // returns +*/ +setReadWriteAccessor( ExtentTransform.prototype, 'field', getField, setField ); + +/** +* Output signal name for the extent result. +* +* @name signal +* @memberof ExtentTransform.prototype +* @type {(string|void)} +* +* @example +* var Field = require( '@stdlib/plot/vega/field/ctor' ); +* +* var transform = new ExtentTransform({ +* 'field': new Field({ 'field': 'value' }), +* 'signal': 'extent' +* }); +* +* var v = transform.signal; +* // returns 'extent' +*/ +setReadWriteAccessor( ExtentTransform.prototype, 'signal', getSignal, setSignal ); + +/** +* Extent transform properties. +* +* @name properties +* @memberof ExtentTransform.prototype +* @type {Array} +* +* @example +* var Field = require( '@stdlib/plot/vega/field/ctor' ); +* +* var transform = new ExtentTransform({ +* 'field': new Field({ 'field': 'value' }) +* }); +* +* var v = transform.properties; +* // returns [...] +*/ +setNonEnumerableReadOnlyAccessor( ExtentTransform.prototype, 'properties', getProperties ); + +/** +* Serializes an instance to a JSON object. +* +* ## Notes +* +* - This method is implicitly invoked by `JSON.stringify`. +* +* @name toJSON +* @memberof ExtentTransform.prototype +* @type {Function} +* @returns {Object} JSON object +* +* @example +* var Field = require( '@stdlib/plot/vega/field/ctor' ); +* +* var transform = new ExtentTransform({ +* 'field': new Field({ 'field': 'value' }), +* 'signal': 'extent' +* }); +* +* var v = transform.toJSON(); +* // returns {...} +*/ +setNonEnumerableReadOnly( ExtentTransform.prototype, 'toJSON', function toJSON() { + return instance2json( this, properties ); +}); + + +// EXPORTS // + +module.exports = ExtentTransform; diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/properties.json b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/properties.json new file mode 100644 index 000000000000..8d4cf6d81de1 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/properties.json @@ -0,0 +1,4 @@ +[ + "field", + "signal" +] diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/properties/get.js b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/properties/get.js new file mode 100644 index 000000000000..f3cbb28454ea --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/properties/get.js @@ -0,0 +1,41 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var properties = require( './../properties.json' ); + + +// MAIN // + +/** +* Returns the list of enumerable properties. +* +* @private +* @returns {Array} properties +*/ +function get() { + return properties.slice(); +} + + +// EXPORTS // + +module.exports = get; diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/get.js b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/get.js new file mode 100644 index 000000000000..3117c270dc53 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/get.js @@ -0,0 +1,43 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* eslint-disable no-invalid-this */ + +'use strict'; + +// MODULES // + +var prop = require( './properties.js' ); + + +// MAIN // + +/** +* Returns the output signal name for the extent result. +* +* @private +* @returns {(string|void)} signal name +*/ +function get() { + return this[ prop.private ]; +} + + +// EXPORTS // + +module.exports = get; diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/properties.js b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/properties.js new file mode 100644 index 000000000000..9a15daba64d4 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/properties.js @@ -0,0 +1,33 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var property2object = require( '@stdlib/plot/vega/base/property2object' ); + + +// MAIN // + +var obj = property2object( 'signal' ); + + +// EXPORTS // + +module.exports = obj; diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/set.js b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/set.js new file mode 100644 index 000000000000..0b622859b00a --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/lib/signal/set.js @@ -0,0 +1,66 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* eslint-disable no-invalid-this */ + +'use strict'; + +// MODULES // + +var logger = require( 'debug' ); +var isString = require( '@stdlib/assert/is-string' ).isPrimitive; +var isUndefined = require( '@stdlib/assert/is-undefined' ); +var format = require( '@stdlib/string/format' ); +var changeEvent = require( './../change_event.js' ); +var prop = require( './properties.js' ); + + +// VARIABLES // + +var debug = logger( 'vega:extent-transform:set:'+prop.name ); + + +// MAIN // + +/** +* Sets the output signal name for the extent result. +* +* ## Notes +* +* - Providing `undefined` "unsets" the configured value. +* +* @private +* @param {(string|void)} value - input value +* @throws {TypeError} must be a string +* @returns {void} +*/ +function set( value ) { + if ( !isString( value ) && !isUndefined( value ) ) { + throw new TypeError( format( 'invalid assignment. `%s` must be a string. Value: `%s`.', prop.name, value ) ); + } + if ( value !== this[ prop.private ] ) { + debug( 'Current value: %s. New value: %s.', this[ prop.private ], value ); + this[ prop.private ] = value; + this.emit( 'change', changeEvent( prop.name ) ); + } +} + + +// EXPORTS // + +module.exports = set; diff --git a/lib/node_modules/@stdlib/plot/vega/transform/extent/package.json b/lib/node_modules/@stdlib/plot/vega/transform/extent/package.json new file mode 100644 index 000000000000..f5fbfe7b5a30 --- /dev/null +++ b/lib/node_modules/@stdlib/plot/vega/transform/extent/package.json @@ -0,0 +1,61 @@ +{ + "name": "@stdlib/plot/vega/transform/extent", + "version": "0.0.0", + "description": "Extent transform constructor.", + "license": "Apache-2.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "./lib", + "directories": { + "benchmark": "./benchmark", + "doc": "./docs", + "example": "./examples", + "lib": "./lib", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "plot", + "vega", + "transform", + "extent", + "constructor", + "ctor" + ], + "__stdlib__": {} +}