Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Spike: explore using Windows Cloud Provider API to create "virtual" node_modules/ #305

@zkat

Description

@zkat

Windows supports a Cloud Files API that lets you "lazily" sync files from a "cloud" into a directory. (Sample)

It would be interesting to see if we can take advantage of this to create "virtual" node_modules/ trees that get lazily synced from the cache into concrete files, as they get accessed by various tools.

This would give the impression of having a fully-real node_modules and work at the OS level, so all existing tooling would "just work", but let us completely skip installing a vast swath of potentially unused files in people's dependency trees.

This would, of course, still require downloading entire packages, but it would be a lot less stuff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions