File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,23 @@ Both email and url are optional either way.
170170
171171npm also sets a top-level "maintainers" field with your npm user info.
172172
173+ ## sustainability
174+
175+ You can specify an HTTP endpoint for up-to-date information about ways
176+ to sustain development of your package so that people can learn more ways
177+ to support your work:
178+
179+ { "sustainability": "https://example.com/sustainability.json" }
180+
181+ You may like to develop your sustainability file as a file in your
182+ source repository:
183+
184+ { "sustainability": "https://raw.githubusercontent.com/{user}/{repo}/master/sustainability.json" }
185+
186+ The end point you specify should respond to unauthenticated GET
187+ requests with a JSON body that conforms to the [ sustainability data
188+ schema] ( https://www.npmjs.com/package/sustainability-schema ) .
189+
173190## files
174191
175192The optional ` files ` field is an array of file patterns that describes
You can’t perform that action at this time.
0 commit comments