> For the complete documentation index, see [llms.txt](https://docs.pulse.domains/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pulse.domains/dapp-developer-guide/getting-started/pns-libraries.md).

# PNS Libraries

PNS support is available in many popular languages. If you know of a library that is not listed here, please [send us a PR](https://github.com/pulsedomains/pns-contracts/compare).

### Javascript

* [pnsjs](https://www.npmjs.com/package/@pnsdomains/pnsjs), maintained by the PNS developers
* [ethers.js](https://github.com/ethers-io/ethers.js)

#### Which Javascript library should I use?

If you are already using `ethers.js`, and do not require functionality such as creating subdomains, transferring ownership, or updating resolvers, use built in PNS features of these libraries.

Otherwise, use `pnsjs`.

#### Accessing smart contracts directly

All the PNS smart contracts are published as `@pnsdomains/pns-contracts` [npm module](https://www.npmjs.com/package/@pnsdomains/pns-contracts).

This is how you include abi into your frontend code.

```
import {
  PNS,
  PublicResolver
} from '@pnsdomains/pns-contracts'`
```

This is how you import our smartcontract within Solidity.

```
import '@pnsdomains/pns-contracts/contracts/registry/PNS.sol';
```

### Go

* [go-pns](https://github.com/pulsedomains/go-pns)

## Next Steps

Once you've chosen a library, read Working with PNS to learn how to use your chosen PNS library in your application.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pulse.domains/dapp-developer-guide/getting-started/pns-libraries.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
