1

Sinopia seems so cool for having a local npm registry. I have a couple of questions in terms o f this module:

Sinopia Documentation says "Sinopia keeps its own small database"; so what database is being used?

On the other hand it is mentioned "If you want to use a database instead, ask for it, we'll come up with some kind of a plugin system." So is any database being used or not? Is there any plugin which uses the database and they mentioned now? It seems that now all info is being saved in config.yaml as opposed to a DB, am I right?

4

1 回答 1

3

如您在此处看到的,sinopia 将存储库直接保存在文件系统中,并且令牌/用户保存在 JSON 文件中。所以,不,没有你所知道的 SQL 或 NoSQL 数据库。

但是你真的不需要它,我在一台小型服务器上与 30 个开发人员一起使用它,到目前为止我们还没有遇到任何问题。

于 2015-08-17T07:55:38.363 回答