New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@openstax/highlighter

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openstax/highlighter

Functionality for OpenStax note taking features including: - serializing highlights - deserializing highlights - versioned serialization strategies - extracting highlighted content - loading wrappers for styling highligted content - managing focus/scrolli

  • 1.1.3
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-76.32%
Maintainers
3
Weekly downloads
 
Created
Source

Highlighter

Functionality for OpenStax note taking features including:

  • serializing highlights
  • deserializing highlights
  • versioned serialization strategies
  • extracting highlighted content
  • loading wrappers for styling highligted content
  • managing focus/scrolling to highlights

Setup

install nvm

# use the right version of node
nvm install

# install yarn, skip if you have it already
npm install -g yarn

# install dependencies
yarn

To run in development

run these in separate terminals as you develop

# typescript type checking
yarn watch:ts

# unit tests
yarn watch:test

reference changes from another project

do yarn link

# watch for code changes and re-compile:
yarn watch

to deploy

# do build
yarn build:clean

# increment version (this updates package.json and makes a git tag)
yarn version [--minor|--major|--patch]

# push to npm
yarn publish --new-version=$(yarn -s current)

# push to github
git push origin v$(yarn -s current)

# PR the version bump back into master (skip this for weirdo beta or release candidate tags)
open https://github.com/openstax/highlighter/compare/master...v$(yarn -s current)?expand=1

FAQs

Package last updated on 24 Oct 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc