Artifactory allows you to define any layout for your npm registries. In order to upload packages according to your custom layout, you need to package your npm files using the npm pack
command. This creates the .tgz file for your package which you can then upload to any path within your local npm repository.