Socket
Socket
Sign inDemoInstall

@portabletext/toolkit

Package Overview
Dependencies
1
Maintainers
9
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @portabletext/toolkit

Toolkit of handy utility functions for dealing with Portable Text


Version published
Weekly downloads
153K
decreased by-17.49%
Maintainers
9
Install size
165 kB
Created
Weekly downloads
 

Changelog

Source

2.0.15 (2024-04-11)

Bug Fixes

  • deps: update dependency @portabletext/types to ^2.0.13 (#85) (e5a0247)

Readme

Source

@portabletext/toolkit

npm versionnpm bundle sizeBuild Status

Javascript toolkit of handy utility functions for dealing with Portable Text.

Particularly useful for building rendering libraries for Portable Text that outputs HTML.

Installation

npm install --save @portabletext/toolkit

Documentation

See https://portabletext.github.io/toolkit/

Usage

import {toPlainText} from '@portabletext/toolkit'

console.log(toPlainText(myPortableTextBlocks))

License

MIT © Sanity.io

Keywords

FAQs

Last updated on 11 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc