Skip to content

Commit

Permalink
chore: use scoped package name
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt committed Oct 26, 2022
1 parent 437e79a commit 2cc9438
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![](./assets/logo.jpg)

[![npm](https://img.shields.io/npm/v/google-docs-hast)](https://www.npmjs.com/package/google-docs-hast)
[![npm](https://img.shields.io/npm/v/@googleworkspace/google-docs-hast)](https://www.npmjs.com/package/@googleworkspace/google-docs-hast)
[![Test](https://github.com/googleworkspace/google-docs-hast/actions/workflows/test.yml/badge.svg)](https://github.com/googleworkspace/google-docs-hast/actions/workflows/test.yml)
![Release](https://github.com/googleworkspace/google-docs-hast/workflows/Release/badge.svg)
[![Docs](https://img.shields.io/badge/documentation-api-brightgreen)](https://googleworkspace.github.io/google-docs-hast/)
Expand All @@ -16,13 +16,13 @@ Converts the JSON representation of a Google Docs document into an [HTML abstrac
Install using NPM or similar.

```sh
npm i google-docs-hast
npm i @googleworkspace/google-docs-hast
```

## Usage

```js
import { hast } from "google-docs-hast";
import { hast } from "@googleworkspace/google-docs-hast";

// Retrieve document from API, https://developers.google.com/docs/api
const doc = ...;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "google-docs-hast",
"name": "@googleworkspace/google-docs-hast",
"version": "1.0.0",
"type": "module",
"description": "Convert a Google Doc JSON representation to an HTML abstract syntax tree.",
Expand Down

0 comments on commit 2cc9438

Please sign in to comment.