Skip to content

Commit ef4453f

Browse files
Moved the NPM package to the @APIDevTools scope
1 parent b2d6213 commit ef4453f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ JSON Schema $Ref Parser
55
[![Build Status](https://github.com/APIDevTools/json-schema-ref-parser/workflows/CI-CD/badge.svg?branch=master)](https://github.com/APIDevTools/json-schema-ref-parser/blob/master/.github/workflows/CI-CD.yaml)
66
[![Coverage Status](https://coveralls.io/repos/github/APIDevTools/json-schema-ref-parser/badge.svg?branch=master)](https://coveralls.io/github/APIDevTools/json-schema-ref-parser)
77

8-
[![npm](https://img.shields.io/npm/v/json-schema-ref-parser.svg)](https://www.npmjs.com/package/json-schema-ref-parser)
8+
[![npm](https://img.shields.io/npm/v/@apidevtools/json-schema-ref-parser.svg)](https://www.npmjs.com/package/@apidevtools/json-schema-ref-parser)
99
[![Dependencies](https://david-dm.org/APIDevTools/json-schema-ref-parser.svg)](https://david-dm.org/APIDevTools/json-schema-ref-parser)
10-
[![License](https://img.shields.io/npm/l/json-schema-ref-parser.svg)](LICENSE)
10+
[![License](https://img.shields.io/npm/l/@apidevtools/json-schema-ref-parser.svg)](LICENSE)
1111
[![Buy us a tree](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen)](https://plant.treeware.earth/APIDevTools/json-schema-ref-parser)
1212

1313

@@ -92,32 +92,32 @@ Installation
9292
Install using [npm](https://docs.npmjs.com/about-npm/):
9393
9494
```bash
95-
npm install json-schema-ref-parser
95+
npm install @apidevtools/json-schema-ref-parser
9696
```
9797
9898
9999
100100
Usage
101101
--------------------------
102-
When using Json-Schema-Ref-Parser in Node.js apps, you'll probably want to use **CommonJS** syntax:
102+
When using JSON Schema $Ref Parser in Node.js apps, you'll probably want to use **CommonJS** syntax:
103103
104104
```javascript
105-
const $RefParser = require("json-schema-ref-parser");
105+
const $RefParser = require("@apidevtools/json-schema-ref-parser");
106106
```
107107
108108
When using a transpiler such as [Babel](https://babeljs.io/) or [TypeScript](https://www.typescriptlang.org/), or a bundler such as [Webpack](https://webpack.js.org/) or [Rollup](https://rollupjs.org/), you can use **ECMAScript modules** syntax instead:
109109
110110
```javascript
111-
import $RefParser from "json-schema-ref-parser";
111+
import $RefParser from "@apidevtools/json-schema-ref-parser";
112112
```
113113
114114
115115
116116
Browser support
117117
--------------------------
118-
Json-Schema-Ref-Parser supports recent versions of every major web browser. Older browsers may require [Babel](https://babeljs.io/) and/or [polyfills](https://babeljs.io/docs/en/next/babel-polyfill).
118+
JSON Schema $Ref Parser supports recent versions of every major web browser. Older browsers may require [Babel](https://babeljs.io/) and/or [polyfills](https://babeljs.io/docs/en/next/babel-polyfill).
119119
120-
To use Json-Schema-Ref-Parser in a browser, you'll need to use a bundling tool such as [Webpack](https://webpack.js.org/), [Rollup](https://rollupjs.org/), [Parcel](https://parceljs.org/), or [Browserify](http://browserify.org/). Some bundlers may require a bit of configuration, such as setting `browser: true` in [rollup-plugin-resolve](https://github.com/rollup/rollup-plugin-node-resolve).
120+
To use JSON Schema $Ref Parser in a browser, you'll need to use a bundling tool such as [Webpack](https://webpack.js.org/), [Rollup](https://rollupjs.org/), [Parcel](https://parceljs.org/), or [Browserify](http://browserify.org/). Some bundlers may require a bit of configuration, such as setting `browser: true` in [rollup-plugin-resolve](https://github.com/rollup/rollup-plugin-node-resolve).
121121
122122
123123
@@ -126,6 +126,7 @@ API Documentation
126126
Full API documentation is available [right here](https://apitools.dev/json-schema-ref-parser/docs/)
127127
128128
129+
129130
Contributing
130131
--------------------------
131132
I welcome any contributions, enhancements, and bug-fixes. [File an issue](https://github.com/APIDevTools/json-schema-ref-parser/issues) on GitHub and [submit a pull request](https://github.com/APIDevTools/json-schema-ref-parser/pulls).
@@ -152,7 +153,6 @@ This package is [Treeware](http://treeware.earth). If you use it in production,
152153

153154

154155

155-
156156
Big Thanks To
157157
--------------------------
158158
Thanks to these awesome companies for their support of Open Source developers ❤

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "json-schema-ref-parser",
2+
"name": "@apidevtools/json-schema-ref-parser",
33
"version": "7.1.4",
44
"description": "Parse, Resolve, and Dereference JSON Schema $ref pointers",
55
"keywords": [

0 commit comments

Comments
 (0)