Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including turf-owners with all npm packages installed. Try it out:

var turfOwners = require("turf-owners")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

turf-owners v1.0.3

manage npm owner status in bulk

ownership

This is a module template the npm owner command to make management of open source projects with many contributors easier, by keeping specific lists of users with access and optionally packages they should have ownership of.

This doesn't bend any laws you need to be an owner of the package yourself in order to add other owners, just like you would using npm owner.

FORK ME

This is a template, not a finished project. It is meant for you to copy & rename. For instance, at Mapbox, we have a copy called mapbox-owners that adds all employees to a package. It's called mapbox-owners and has a hardcoded list of people in the package: updating the package updates the list.

Do the same: fork this, rename it in package.json to something else, change the names of the binaries, and change the example-users.json and example-packages.json configuration files to suit your fancy.

install

npm install -g ownership

usage

Provides two utilities:

ownership

ownership: takes one argument, the name of the package, and adds all users to that package as owners. For instance:

ownership express

Would add all users in example-users.json as owners to the express packages.

ownership-all

ownership-all doesn't take any arguments: it adds all users in example-users.json to all packages in example-packages.json.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free