Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/richard-lyman/harbor

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/richard-lyman/harbor

  • v1.1.2
  • Source
  • Go
  • Socket score

Version published
Created
Source

harbor

GoDoc

An implementation of the Porter2 Stemmer.

Port: synonym: harbor

Arbor: synonym: stem (More a suffix than a stem, but close enough.)

Install harbor binary to use on a file

Assuming you already have Golang installed, run the following command to generate an executable named harbor in whatever directory you're in:

GOBIN=`pwd` go get github.com/richard-lyman/harbor/cmd/harbor

For information on how to use the harbor command run:

./harbor -h

Use the harbor library in a Golang project

Assuming you're using Golang modules, the following is an example of using the harbor library in a Golang project:

package main

import (
	"fmt"
	"github.com/richard-lyman/harbor"
)

func main() {
	fmt.Printf("%s\n", harbor.Stem([]byte("complicating")))
}

FAQs

Package last updated on 11 Jan 2020

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